{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "This notebook demonstrates how to create a spatialite database from GMR inversions. Spatialite was chosen as the format as it is compact, easy to set up and readable by various software including GIS and python. Much of the creation depends on two spreadsheets referenced in this notebok which contain metadata, key spatial information and map inversion directories.\n",
    "\n",
    "Neil Symington\n",
    "neil.symington@gs.gov.au"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import shapely.wkb\n",
    "import shapely.wkt\n",
    "import os\n",
    "import pandas as pd\n",
    "import rasterio\n",
    "from hydrogeol_utils import spatial_functions, SNMR_utils\n",
    "# sqlite/spatialite\n",
    "from sqlalchemy import create_engine, event, ForeignKey\n",
    "from sqlalchemy import Column, Integer, String, Float, Date, Boolean\n",
    "from sqlalchemy.ext.declarative import declarative_base\n",
    "from sqlalchemy.orm import relationship\n",
    "from sqlite3 import dbapi2 as sqlite\n",
    "from scipy.io import loadmat\n",
    "import sqlite3\n",
    "import numpy as np"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Configuration for local environment\n",
    "\n",
    "user = 'Neil Symington'\n",
    "#user = 'Alex Ip'\n",
    "\n",
    "if user == 'Neil Symington':\n",
    "    # Neil Symington's local configuration\n",
    "    DB_ROOT = r\"E:\\SSC\\NMR\\SNMR\"\n",
    "    SPATIALITE_PATH = r'C:\\mod_spatialite-NG-win-amd64'\n",
    "elif user == 'Alex Ip':\n",
    "    # Alex Ip's local configuration\n",
    "    DB_ROOT = r\"F:\\Groundwater\\SNMR\" # Alex's external hard drive\n",
    "    SPATIALITE_PATH = None # Not required - already in path"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "# load spatialite extension for sqlite if required. \n",
    "# Make sure that mod_spatialite.dll is located in a folder that is in your system path\n",
    "# This will only work on windows computers\n",
    "\n",
    "if SPATIALITE_PATH:\n",
    "    os.environ['PATH'] = SPATIALITE_PATH + ';' + os.environ['PATH']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "creating spatial metadata...\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "<sqlalchemy.engine.result.ResultProxy at 0x241e13177c8>"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "DB_PATH = os.path.join(DB_ROOT, r\"SSC_SNMR.sqlite\")\n",
    "\n",
    "if os.path.exists(DB_PATH):\n",
    "        os.remove(DB_PATH)\n",
    "\n",
    "        \n",
    "engine = create_engine('sqlite:///' + DB_PATH, module=sqlite, echo=False)\n",
    "\n",
    "@event.listens_for(engine, 'connect')\n",
    "def connect(dbapi_connection, connection_rec):\n",
    "    dbapi_connection.enable_load_extension(True)\n",
    "    dbapi_connection.execute('SELECT load_extension(\"mod_spatialite\")')\n",
    "\n",
    "# create spatialite metadata\n",
    "print('creating spatial metadata...')\n",
    "engine.execute(\"SELECT InitSpatialMetaData(1);\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "Base = declarative_base()\n",
    "\n",
    "class Sites(Base):\n",
    "    __tablename__ = 'sites'\n",
    "    site_id = Column(Integer, index=True, primary_key=True)\n",
    "    field_id = Column(\"Field_ID\", String(20))\n",
    "    site_code = Column(\"Site_Code\", String(40))\n",
    "    mid_x = Column(\"mid_X\", Float)\n",
    "    mid_y = Column(\"mid_Y\", Float)\n",
    "    declination = Column(\"declination_angle\", Float)\n",
    "    inclination = Column(\"inclination_angle\", Float)\n",
    "    date = Column(\"date\", Date)\n",
    "    loop_width = Column(\"loop_width\", Float)\n",
    "    coil_type = Column(\"coil_type\", String(20))\n",
    "    elevation = Column(\"elevation\", String(20))\n",
    "    geometry = Column(String)\n",
    "      \n",
    "    \n",
    "class Acquisitions(Base):\n",
    "    __tablename__ = 'acquisitions'\n",
    "    acquisition_id = Column(Integer, index=True, primary_key=True)\n",
    "    pulse_sequence = Column(\"pulse_sequence\", String(5))\n",
    "    pulse_length = Column(\"pulse_length\", Float)\n",
    "    \n",
    "    \n",
    "    site_id = Column(Integer, ForeignKey('sites.site_id'))\n",
    "    sites = relationship(\"Sites\")\n",
    "\n",
    "    \n",
    "class Inverse_model_metadata(Base):\n",
    "    __tablename__ = 'inverse_model_metadata'\n",
    "    inversion_id = Column(Integer, index=True, primary_key=True)\n",
    "    doi = Column('Depth_of_Investigation', Float)\n",
    "    reg_factor = Column('reg_factor', Float)\n",
    "    cond_profile = Column(\"conductive_earth_model\", Boolean)\n",
    "    inversion_software = Column(\"Inversion_software\", String(50))\n",
    "    \n",
    "    \n",
    "    acquisition_id = Column(Integer, ForeignKey('acquisitions.acquisition_id'))\n",
    "    acquisitions = relationship(\"Acquisitions\")\n",
    "    \n",
    "class Inverse_models(Base):\n",
    "    __tablename__ = 'inverse_models'\n",
    "    table_id = Column(Integer, index=True, primary_key=True)\n",
    "    depth_from = Column('Depth_from', Float)\n",
    "    depth_to = Column('Depth_to', Float)\n",
    "    mobile_water_content = Column(\"Mobile_water_content\", Float)\n",
    "    bound_water_content = Column(\"Bound_water_content\", Float)\n",
    "    total_water_content = Column(\"Total_water_content\", Float)\n",
    "    T1 = Column(\"T1\", Float)\n",
    "    T2 = Column(\"T2\", Float)\n",
    "    T2_star = Column(\"T2*\", Float)\n",
    "    frequency = Column(\"frequency\", Float)\n",
    "    phase = Column(\"phase\", Float)\n",
    "    \n",
    "    site_id = Column(Integer, ForeignKey('sites.site_id'))\n",
    "    sites = relationship(\"Sites\")\n",
    "    \n",
    "    acquisition_id = Column(Integer, ForeignKey('acquisitions.acquisition_id'))\n",
    "    acquisitions = relationship(\"Acquisitions\")\n",
    "\n",
    "    \n",
    "    inversion_id = Column(Integer, ForeignKey('inverse_model_metadata.inversion_id'))\n",
    "    inversions = relationship(\"Inverse_model_metadata\")\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Table('sites', MetaData(bind=None), Column('site_id', Integer(), table=<sites>, primary_key=True, nullable=False), Column('Field_ID', String(length=20), table=<sites>), Column('Site_Code', String(length=40), table=<sites>), Column('mid_X', Float(), table=<sites>), Column('mid_Y', Float(), table=<sites>), Column('declination_angle', Float(), table=<sites>), Column('inclination_angle', Float(), table=<sites>), Column('date', Date(), table=<sites>), Column('loop_width', Float(), table=<sites>), Column('coil_type', String(length=20), table=<sites>), Column('elevation', String(length=20), table=<sites>), Column('geometry', String(), table=<sites>), schema=None)"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Sites.__table__"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "Base.metadata.create_all(engine)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Field_ID</th>\n",
       "      <th>Site_Code</th>\n",
       "      <th>elevation_(mAHD)</th>\n",
       "      <th>X</th>\n",
       "      <th>Y</th>\n",
       "      <th>bo_dec_angle_deg</th>\n",
       "      <th>bo_inc_angle_deg</th>\n",
       "      <th>date</th>\n",
       "      <th>loop_width</th>\n",
       "      <th>coil_type</th>\n",
       "      <th>geometry</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>AS_GMR_15A</td>\n",
       "      <td>SSCSNMR18032001</td>\n",
       "      <td>508.541321</td>\n",
       "      <td>402460.3760</td>\n",
       "      <td>7360850.562</td>\n",
       "      <td>4.680</td>\n",
       "      <td>-55.524</td>\n",
       "      <td>2018-03-20</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((402519.680147 7360900.89077, 402510....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>AS_GMR_23</td>\n",
       "      <td>SSCSNMR18032101</td>\n",
       "      <td>436.932221</td>\n",
       "      <td>440686.9021</td>\n",
       "      <td>7368656.659</td>\n",
       "      <td>4.780</td>\n",
       "      <td>-55.413</td>\n",
       "      <td>2018-03-21</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((440746.293937 7368706.88446, 440737....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>AS_GMR_20</td>\n",
       "      <td>SSCSNMR18032201</td>\n",
       "      <td>489.896881</td>\n",
       "      <td>421235.9865</td>\n",
       "      <td>7364864.674</td>\n",
       "      <td>4.728</td>\n",
       "      <td>-55.468</td>\n",
       "      <td>2018-03-22</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((421295.332728 7364914.95302, 421286....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>AS_GMR_22</td>\n",
       "      <td>SSCSNMR18032202</td>\n",
       "      <td>458.919800</td>\n",
       "      <td>429375.4174</td>\n",
       "      <td>7366308.744</td>\n",
       "      <td>4.750</td>\n",
       "      <td>-55.448</td>\n",
       "      <td>2018-03-22</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((429434.782927 7366359.00042, 429425....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>AS_GMR_21</td>\n",
       "      <td>SSCSNMR18032301</td>\n",
       "      <td>469.040283</td>\n",
       "      <td>423033.3493</td>\n",
       "      <td>7368303.693</td>\n",
       "      <td>4.729</td>\n",
       "      <td>-55.429</td>\n",
       "      <td>2018-03-23</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((423092.696423 7368353.97112, 423083....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>AS_GMR_16</td>\n",
       "      <td>SSCSNMR18032401</td>\n",
       "      <td>507.333221</td>\n",
       "      <td>403050.4476</td>\n",
       "      <td>7363119.763</td>\n",
       "      <td>4.678</td>\n",
       "      <td>-55.498</td>\n",
       "      <td>2018-03-24</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((403109.749908 7363170.09466, 403100....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>AS_GMR_17</td>\n",
       "      <td>SSCSNMR18032402</td>\n",
       "      <td>505.567627</td>\n",
       "      <td>404636.0204</td>\n",
       "      <td>7356992.742</td>\n",
       "      <td>4.690</td>\n",
       "      <td>-55.564</td>\n",
       "      <td>2018-03-24</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((404695.333258 7357043.06062, 404686....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>AS_GMR_14</td>\n",
       "      <td>SSCSNMR18032502</td>\n",
       "      <td>509.229584</td>\n",
       "      <td>401598.8897</td>\n",
       "      <td>7359584.577</td>\n",
       "      <td>4.678</td>\n",
       "      <td>-55.539</td>\n",
       "      <td>2018-03-25</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((401658.192059 7359634.90807, 401649....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>AS_GMR_06</td>\n",
       "      <td>SSCSNMR18032501</td>\n",
       "      <td>535.069092</td>\n",
       "      <td>386690.6775</td>\n",
       "      <td>7360407.278</td>\n",
       "      <td>4.635</td>\n",
       "      <td>-55.538</td>\n",
       "      <td>2018-03-25</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((386749.942096 7360457.65329, 386741....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>AS_GMR_05</td>\n",
       "      <td>SSCSNMR18032601</td>\n",
       "      <td>537.965637</td>\n",
       "      <td>385129.6884</td>\n",
       "      <td>7360460.473</td>\n",
       "      <td>4.630</td>\n",
       "      <td>-55.538</td>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((385188.948524 7360510.85435, 385180....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>AS_GMR_10</td>\n",
       "      <td>SSCSNMR18032602</td>\n",
       "      <td>525.230225</td>\n",
       "      <td>394563.0599</td>\n",
       "      <td>7355220.748</td>\n",
       "      <td>4.663</td>\n",
       "      <td>-55.591</td>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((394622.349062 7355271.0943, 394613.4...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>AS_GMR_12</td>\n",
       "      <td>SSCSNMR18032603</td>\n",
       "      <td>521.790466</td>\n",
       "      <td>396645.0914</td>\n",
       "      <td>7357785.742</td>\n",
       "      <td>4.666</td>\n",
       "      <td>-55.562</td>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396704.383196 7357836.08556, 396695....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>AS_GMR_11</td>\n",
       "      <td>SSCSNMR18032701</td>\n",
       "      <td>520.568176</td>\n",
       "      <td>396120.4824</td>\n",
       "      <td>7356358.207</td>\n",
       "      <td>4.666</td>\n",
       "      <td>-55.577</td>\n",
       "      <td>2018-03-27</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396179.774244 7356408.55101, 396170....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>AS_GMR_29</td>\n",
       "      <td>SSCSNMR18040403</td>\n",
       "      <td>519.205322</td>\n",
       "      <td>397435.9890</td>\n",
       "      <td>7362682.297</td>\n",
       "      <td>4.662</td>\n",
       "      <td>-55.507</td>\n",
       "      <td>2018-04-04</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397495.277293 7362732.64504, 397486....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>AS_GMR_31</td>\n",
       "      <td>SSCSNMR18040401</td>\n",
       "      <td>522.754456</td>\n",
       "      <td>397573.7311</td>\n",
       "      <td>7365587.732</td>\n",
       "      <td>4.659</td>\n",
       "      <td>-55.474</td>\n",
       "      <td>2018-04-04</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397633.016805 7365638.0826, 397624.0...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>AS_GMR_30</td>\n",
       "      <td>SSCSNMR18040402</td>\n",
       "      <td>518.918579</td>\n",
       "      <td>397728.4072</td>\n",
       "      <td>7364610.487</td>\n",
       "      <td>4.660</td>\n",
       "      <td>-55.486</td>\n",
       "      <td>2018-04-04</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397772.642145 7364674.46592, 397792....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>AS_GMR_35</td>\n",
       "      <td>SSCSNMR18040503</td>\n",
       "      <td>514.030640</td>\n",
       "      <td>397843.0405</td>\n",
       "      <td>7357843.008</td>\n",
       "      <td>4.668</td>\n",
       "      <td>-55.560</td>\n",
       "      <td>2018-04-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397902.334099 7357893.34919, 397893....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>AS_GMR_08</td>\n",
       "      <td>SSCSNMR18040502</td>\n",
       "      <td>525.491455</td>\n",
       "      <td>391700.5106</td>\n",
       "      <td>7358847.919</td>\n",
       "      <td>4.649</td>\n",
       "      <td>-55.551</td>\n",
       "      <td>2018-04-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((391759.787495 7358898.28034, 391750....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>AS_GMR_36</td>\n",
       "      <td>SSCSNMR18040501</td>\n",
       "      <td>521.629700</td>\n",
       "      <td>394408.9074</td>\n",
       "      <td>7357221.633</td>\n",
       "      <td>4.659</td>\n",
       "      <td>-55.569</td>\n",
       "      <td>2018-04-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((394468.193077 7357271.9836, 394459.2...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>AS_GMR_38</td>\n",
       "      <td>SSCSNMR18040601</td>\n",
       "      <td>522.063354</td>\n",
       "      <td>393993.2154</td>\n",
       "      <td>7358644.791</td>\n",
       "      <td>4.656</td>\n",
       "      <td>-55.553</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((394052.498464 7358695.14484, 394043....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>AS_GMR_39</td>\n",
       "      <td>SSCSNMR18040602</td>\n",
       "      <td>518.929626</td>\n",
       "      <td>396455.0092</td>\n",
       "      <td>7358845.277</td>\n",
       "      <td>4.663</td>\n",
       "      <td>-55.550</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396461.332412 7358922.80114, 396532....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>AS_GMR_37</td>\n",
       "      <td>SSCSNMR18040603</td>\n",
       "      <td>533.554016</td>\n",
       "      <td>388299.0296</td>\n",
       "      <td>7361394.482</td>\n",
       "      <td>4.637</td>\n",
       "      <td>-55.527</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((388325.168893 7361467.74027, 388372....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>AS_GMR_40</td>\n",
       "      <td>SSCSNMR18040604</td>\n",
       "      <td>519.203491</td>\n",
       "      <td>396010.6242</td>\n",
       "      <td>7360270.428</td>\n",
       "      <td>4.660</td>\n",
       "      <td>-55.533</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396069.91075 7360320.77805, 396060.9...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>AS_GMR_26</td>\n",
       "      <td>SSCSNMR18040703</td>\n",
       "      <td>529.692322</td>\n",
       "      <td>390924.3649</td>\n",
       "      <td>7362787.419</td>\n",
       "      <td>4.643</td>\n",
       "      <td>-55.509</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((390983.636536 7362837.78604, 390974....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>AS_GMR_07</td>\n",
       "      <td>SSCSNMR18040704</td>\n",
       "      <td>542.890808</td>\n",
       "      <td>383653.7086</td>\n",
       "      <td>7363414.818</td>\n",
       "      <td>4.621</td>\n",
       "      <td>-55.507</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((383731.237503 7363408.55145, 383647....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>AS_GMR_41</td>\n",
       "      <td>SSCSNMR18040701</td>\n",
       "      <td>527.671570</td>\n",
       "      <td>391221.5061</td>\n",
       "      <td>7361145.537</td>\n",
       "      <td>4.645</td>\n",
       "      <td>-55.527</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((391280.779424 7361195.90201, 391271....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>AS_GMR_02</td>\n",
       "      <td>SSCSNMR18040702</td>\n",
       "      <td>546.977905</td>\n",
       "      <td>380595.1071</td>\n",
       "      <td>7361869.734</td>\n",
       "      <td>4.614</td>\n",
       "      <td>-55.525</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((380621.217026 7361943.00279, 380668....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>AS_GMR_09</td>\n",
       "      <td>SSCSNMR18040801</td>\n",
       "      <td>538.788757</td>\n",
       "      <td>393272.9722</td>\n",
       "      <td>7352590.995</td>\n",
       "      <td>4.660</td>\n",
       "      <td>-55.619</td>\n",
       "      <td>2018-04-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((393350.496863 7352584.67536, 393266....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>AS_GMR_42</td>\n",
       "      <td>SSCSNMR18040802</td>\n",
       "      <td>518.647766</td>\n",
       "      <td>396901.4409</td>\n",
       "      <td>7361079.573</td>\n",
       "      <td>4.661</td>\n",
       "      <td>-55.525</td>\n",
       "      <td>2018-04-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396968.570551 7361118.86173, 396940....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>AS_GMR_43</td>\n",
       "      <td>SSCSNMR18040803</td>\n",
       "      <td>512.320007</td>\n",
       "      <td>397140.3486</td>\n",
       "      <td>7356503.766</td>\n",
       "      <td>4.667</td>\n",
       "      <td>-55.573</td>\n",
       "      <td>2018-04-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397199.641336 7356554.10888, 397190....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>WD_GMR_32</td>\n",
       "      <td>SSCSNMR18050301</td>\n",
       "      <td>381.487274</td>\n",
       "      <td>397963.2731</td>\n",
       "      <td>7686074.162</td>\n",
       "      <td>4.302</td>\n",
       "      <td>-51.831</td>\n",
       "      <td>2018-05-03</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((398018.370911 7686129.0642, 398018.1...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>WD_GMR_34</td>\n",
       "      <td>SSCSNMR18050501</td>\n",
       "      <td>401.434265</td>\n",
       "      <td>405694.0955</td>\n",
       "      <td>7671812.411</td>\n",
       "      <td>4.338</td>\n",
       "      <td>-51.997</td>\n",
       "      <td>2018-05-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((405749.13195 7671867.37473, 405749.0...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>WD_GMR_29</td>\n",
       "      <td>SSCSNMR18050601</td>\n",
       "      <td>365.610931</td>\n",
       "      <td>427574.2116</td>\n",
       "      <td>7692080.211</td>\n",
       "      <td>4.371</td>\n",
       "      <td>-51.745</td>\n",
       "      <td>2018-05-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((427641.141573 7692119.83898, 427613....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>WD_GMR_35</td>\n",
       "      <td>SSCSNMR18050701</td>\n",
       "      <td>406.008514</td>\n",
       "      <td>423281.0722</td>\n",
       "      <td>7658316.777</td>\n",
       "      <td>4.398</td>\n",
       "      <td>-52.146</td>\n",
       "      <td>2018-05-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((423336.166227 7658371.68277, 423335....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>WD_GMR_18</td>\n",
       "      <td>SSCSNMR18050702</td>\n",
       "      <td>397.137421</td>\n",
       "      <td>429449.7088</td>\n",
       "      <td>7660512.632</td>\n",
       "      <td>4.412</td>\n",
       "      <td>-52.116</td>\n",
       "      <td>2018-05-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((429504.816235 7660567.52398, 429504....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>WD_GMR_24</td>\n",
       "      <td>SSCSNMR18050801</td>\n",
       "      <td>391.673462</td>\n",
       "      <td>456100.1295</td>\n",
       "      <td>7680249.626</td>\n",
       "      <td>4.458</td>\n",
       "      <td>-51.868</td>\n",
       "      <td>2018-05-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((456155.280962 7680304.4743, 456154.9...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52</th>\n",
       "      <td>WD_GMR_25</td>\n",
       "      <td>SSCSNMR18050802</td>\n",
       "      <td>394.434235</td>\n",
       "      <td>456984.6333</td>\n",
       "      <td>7675494.494</td>\n",
       "      <td>4.466</td>\n",
       "      <td>-51.923</td>\n",
       "      <td>2018-05-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((457039.696648 7675549.43086, 457039....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53</th>\n",
       "      <td>WD_GMR_36a</td>\n",
       "      <td>SSCSNMR18050901</td>\n",
       "      <td>392.131622</td>\n",
       "      <td>468263.5920</td>\n",
       "      <td>7648846.529</td>\n",
       "      <td>4.526</td>\n",
       "      <td>-52.228</td>\n",
       "      <td>2018-05-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((468318.71279 7648901.40785, 468318.4...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>54</th>\n",
       "      <td>WD_GMR_20</td>\n",
       "      <td>SSCSNMR18050902</td>\n",
       "      <td>395.238586</td>\n",
       "      <td>458727.4202</td>\n",
       "      <td>7668938.205</td>\n",
       "      <td>4.478</td>\n",
       "      <td>-51.998</td>\n",
       "      <td>2018-05-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((458782.590772 7668993.03392, 458782....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>55</th>\n",
       "      <td>WD_GMR_37</td>\n",
       "      <td>SSCSNMR18051002</td>\n",
       "      <td>364.628113</td>\n",
       "      <td>424634.2215</td>\n",
       "      <td>7698005.177</td>\n",
       "      <td>4.356</td>\n",
       "      <td>-51.676</td>\n",
       "      <td>2018-05-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((424693.240096 7698055.84095, 424684....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>56</th>\n",
       "      <td>WD_GMR_31</td>\n",
       "      <td>SSCSNMR18051001</td>\n",
       "      <td>370.283356</td>\n",
       "      <td>434697.8195</td>\n",
       "      <td>7697203.578</td>\n",
       "      <td>4.383</td>\n",
       "      <td>-51.680</td>\n",
       "      <td>2018-05-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((434747.172096 7697263.69758, 434757....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57</th>\n",
       "      <td>TC_GMR_25</td>\n",
       "      <td>SSCSNMR18093001</td>\n",
       "      <td>321.323212</td>\n",
       "      <td>407819.4942</td>\n",
       "      <td>7806828.560</td>\n",
       "      <td>4.172</td>\n",
       "      <td>-50.368</td>\n",
       "      <td>2018-09-30</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((407831.892555 7806905.34751, 407896....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>58</th>\n",
       "      <td>TC_GMR_29</td>\n",
       "      <td>SSCSNMR18093002</td>\n",
       "      <td>314.635956</td>\n",
       "      <td>402323.8554</td>\n",
       "      <td>7812089.585</td>\n",
       "      <td>4.152</td>\n",
       "      <td>-50.306</td>\n",
       "      <td>2018-09-30</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((402382.693226 7812140.45827, 402374....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59</th>\n",
       "      <td>TC_GMR_30</td>\n",
       "      <td>SSCSNMR18093003</td>\n",
       "      <td>333.439636</td>\n",
       "      <td>413310.8461</td>\n",
       "      <td>7801658.554</td>\n",
       "      <td>4.191</td>\n",
       "      <td>-50.428</td>\n",
       "      <td>2018-09-30</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((413369.718551 7801709.38733, 413361....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60</th>\n",
       "      <td>TC_GMR_20</td>\n",
       "      <td>SSCSNMR18100101</td>\n",
       "      <td>296.871094</td>\n",
       "      <td>386238.4956</td>\n",
       "      <td>7816719.298</td>\n",
       "      <td>4.107</td>\n",
       "      <td>-50.257</td>\n",
       "      <td>2018-10-01</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((386297.293463 7816770.21753, 386289....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>61</th>\n",
       "      <td>TC_GMR_01</td>\n",
       "      <td>SSCSNMR18100102</td>\n",
       "      <td>298.433380</td>\n",
       "      <td>387493.6055</td>\n",
       "      <td>7814892.545</td>\n",
       "      <td>4.112</td>\n",
       "      <td>-50.279</td>\n",
       "      <td>2018-10-01</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((387552.407729 7814943.45967, 387544....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62</th>\n",
       "      <td>TC_GMR_14</td>\n",
       "      <td>SSCSNMR18100201</td>\n",
       "      <td>280.380402</td>\n",
       "      <td>372041.8150</td>\n",
       "      <td>7818987.175</td>\n",
       "      <td>4.069</td>\n",
       "      <td>-50.236</td>\n",
       "      <td>2018-10-02</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((372100.57899 7819038.13408, 372092.7...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63</th>\n",
       "      <td>TC_GMR_18</td>\n",
       "      <td>SSCSNMR18100202</td>\n",
       "      <td>290.686523</td>\n",
       "      <td>381027.6859</td>\n",
       "      <td>7818890.070</td>\n",
       "      <td>4.091</td>\n",
       "      <td>-50.231</td>\n",
       "      <td>2018-10-02</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((381086.469551 7818941.00569, 381078....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>64</th>\n",
       "      <td>TT_GMR_04</td>\n",
       "      <td>SSCSNMR18100701</td>\n",
       "      <td>624.481628</td>\n",
       "      <td>321867.7899</td>\n",
       "      <td>7515214.681</td>\n",
       "      <td>4.264</td>\n",
       "      <td>-53.842</td>\n",
       "      <td>2018-10-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((321926.727048 7515265.43948, 321918....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>65</th>\n",
       "      <td>TT_GMR_09</td>\n",
       "      <td>SSCSNMR18100801</td>\n",
       "      <td>578.580200</td>\n",
       "      <td>349392.0973</td>\n",
       "      <td>7519962.008</td>\n",
       "      <td>4.332</td>\n",
       "      <td>-53.773</td>\n",
       "      <td>2018-10-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((349451.094674 7520012.69612, 349442....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>66</th>\n",
       "      <td>TT_GMR_13</td>\n",
       "      <td>SSCSNMR18100802</td>\n",
       "      <td>574.765625</td>\n",
       "      <td>355877.9852</td>\n",
       "      <td>7511898.793</td>\n",
       "      <td>4.358</td>\n",
       "      <td>-53.863</td>\n",
       "      <td>2018-10-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((355937.005565 7511949.45468, 355928....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>67</th>\n",
       "      <td>TT_GMR_14</td>\n",
       "      <td>SSCSNMR18100803</td>\n",
       "      <td>586.058838</td>\n",
       "      <td>369170.4482</td>\n",
       "      <td>7504233.774</td>\n",
       "      <td>4.402</td>\n",
       "      <td>-53.942</td>\n",
       "      <td>2018-10-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((369229.507366 7504284.38983, 369221....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>68</th>\n",
       "      <td>TT_GMR_05</td>\n",
       "      <td>SSCSNMR18100901</td>\n",
       "      <td>608.171326</td>\n",
       "      <td>327504.1999</td>\n",
       "      <td>7522354.477</td>\n",
       "      <td>4.271</td>\n",
       "      <td>-53.757</td>\n",
       "      <td>2018-10-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((327563.143201 7522405.22853, 327554....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>69</th>\n",
       "      <td>TT_GMR_03</td>\n",
       "      <td>SSCSNMR18100902</td>\n",
       "      <td>609.428467</td>\n",
       "      <td>315051.5407</td>\n",
       "      <td>7530376.453</td>\n",
       "      <td>4.230</td>\n",
       "      <td>-53.672</td>\n",
       "      <td>2018-10-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((315110.447685 7530427.24665, 315102....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>70</th>\n",
       "      <td>TT_GMR_16</td>\n",
       "      <td>SSCSNMR18101002</td>\n",
       "      <td>625.755127</td>\n",
       "      <td>374902.7009</td>\n",
       "      <td>7480976.078</td>\n",
       "      <td>4.442</td>\n",
       "      <td>-54.201</td>\n",
       "      <td>2018-10-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((374961.795423 7481026.65272, 374953....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>71</th>\n",
       "      <td>TT_GMR_15</td>\n",
       "      <td>SSCSNMR18101001</td>\n",
       "      <td>600.468689</td>\n",
       "      <td>372440.5256</td>\n",
       "      <td>7493864.659</td>\n",
       "      <td>4.422</td>\n",
       "      <td>-54.058</td>\n",
       "      <td>2018-10-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((372499.602447 7493915.25475, 372491....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>72</th>\n",
       "      <td>TT_GMR_12</td>\n",
       "      <td>SSCSNMR18101202</td>\n",
       "      <td>557.927002</td>\n",
       "      <td>359844.8114</td>\n",
       "      <td>7525739.883</td>\n",
       "      <td>4.353</td>\n",
       "      <td>-53.702</td>\n",
       "      <td>2018-10-12</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((359903.827349 7525790.54996, 359895....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>73</th>\n",
       "      <td>TT_GMR_06</td>\n",
       "      <td>SSCSNMR18101203</td>\n",
       "      <td>586.822388</td>\n",
       "      <td>340950.1837</td>\n",
       "      <td>7527435.463</td>\n",
       "      <td>4.301</td>\n",
       "      <td>-53.693</td>\n",
       "      <td>2018-10-12</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((341009.153633 7527486.18381, 341000....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>74</th>\n",
       "      <td>TT_GMR_20a</td>\n",
       "      <td>SSCSNMR18101201</td>\n",
       "      <td>563.334290</td>\n",
       "      <td>371664.9428</td>\n",
       "      <td>7518768.508</td>\n",
       "      <td>4.392</td>\n",
       "      <td>-53.776</td>\n",
       "      <td>2018-10-12</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((371723.993154 7518819.13462, 371715....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75</th>\n",
       "      <td>WD_GMR_13</td>\n",
       "      <td>SSCSNMR18101401</td>\n",
       "      <td>354.544952</td>\n",
       "      <td>381765.0085</td>\n",
       "      <td>7707451.003</td>\n",
       "      <td>4.212</td>\n",
       "      <td>-51.577</td>\n",
       "      <td>2018-10-14</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((381823.899552 7707501.81452, 381815....</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>76 rows × 11 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Field_ID        Site_Code  elevation_(mAHD)            X            Y  \\\n",
       "0   AS_GMR_15A  SSCSNMR18032001        508.541321  402460.3760  7360850.562   \n",
       "1    AS_GMR_23  SSCSNMR18032101        436.932221  440686.9021  7368656.659   \n",
       "2    AS_GMR_20  SSCSNMR18032201        489.896881  421235.9865  7364864.674   \n",
       "3    AS_GMR_22  SSCSNMR18032202        458.919800  429375.4174  7366308.744   \n",
       "4    AS_GMR_21  SSCSNMR18032301        469.040283  423033.3493  7368303.693   \n",
       "..         ...              ...               ...          ...          ...   \n",
       "71   TT_GMR_15  SSCSNMR18101001        600.468689  372440.5256  7493864.659   \n",
       "72   TT_GMR_12  SSCSNMR18101202        557.927002  359844.8114  7525739.883   \n",
       "73   TT_GMR_06  SSCSNMR18101203        586.822388  340950.1837  7527435.463   \n",
       "74  TT_GMR_20a  SSCSNMR18101201        563.334290  371664.9428  7518768.508   \n",
       "75   WD_GMR_13  SSCSNMR18101401        354.544952  381765.0085  7707451.003   \n",
       "\n",
       "    bo_dec_angle_deg  bo_inc_angle_deg       date  loop_width  coil_type  \\\n",
       "0              4.680           -55.524 2018-03-20         110          1   \n",
       "1              4.780           -55.413 2018-03-21         110          1   \n",
       "2              4.728           -55.468 2018-03-22         110          1   \n",
       "3              4.750           -55.448 2018-03-22         110          1   \n",
       "4              4.729           -55.429 2018-03-23         110          1   \n",
       "..               ...               ...        ...         ...        ...   \n",
       "71             4.422           -54.058 2018-10-10         110          1   \n",
       "72             4.353           -53.702 2018-10-12         110          1   \n",
       "73             4.301           -53.693 2018-10-12         110          1   \n",
       "74             4.392           -53.776 2018-10-12         110          1   \n",
       "75             4.212           -51.577 2018-10-14         110          1   \n",
       "\n",
       "                                             geometry  \n",
       "0   POLYGON ((402519.680147 7360900.89077, 402510....  \n",
       "1   POLYGON ((440746.293937 7368706.88446, 440737....  \n",
       "2   POLYGON ((421295.332728 7364914.95302, 421286....  \n",
       "3   POLYGON ((429434.782927 7366359.00042, 429425....  \n",
       "4   POLYGON ((423092.696423 7368353.97112, 423083....  \n",
       "..                                                ...  \n",
       "71  POLYGON ((372499.602447 7493915.25475, 372491....  \n",
       "72  POLYGON ((359903.827349 7525790.54996, 359895....  \n",
       "73  POLYGON ((341009.153633 7527486.18381, 341000....  \n",
       "74  POLYGON ((371723.993154 7518819.13462, 371715....  \n",
       "75  POLYGON ((381823.899552 7707501.81452, 381815....  \n",
       "\n",
       "[76 rows x 11 columns]"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "infile = os.path.join(DB_ROOT, r\"SSC_SNMR_location_metadata.csv\")\n",
    "\n",
    "df = pd.read_csv(infile)\n",
    "\n",
    "df['date'] =pd.to_datetime(df.date, format =\"%Y/%m/%d\")\n",
    "\n",
    "df = df.sort_values(by='date').reset_index(drop=True)\n",
    "\n",
    "\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Populate the site_code if not already done\n",
    "generate_site_code = False\n",
    "\n",
    "if generate_site_code:\n",
    "    df['Site_Code'] = ''\n",
    "    for index, row in df.iterrows():\n",
    "        d = row['date']\n",
    "        yr = d.year\n",
    "        day = \"{:02d}\".format(d.day)\n",
    "        month = \"{:02d}\".format(d.month)\n",
    "        site_code = \"SSCSNMR\" + str(yr)[2:] + str(month) + str(day) + '0'\n",
    "\n",
    "        count = 1\n",
    "        while True:\n",
    "\n",
    "            if site_code + str(count) in df['Site_Code'].values:\n",
    "                count +=1\n",
    "            else:    \n",
    "                df.at[index, 'Site_Code'] = site_code + str(count)\n",
    "                break"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Drop columns that are not needed in the table\n",
    "\n",
    "\n",
    "df.rename(columns = {'X': 'mid_X', 'Y': 'mid_Y', 'bo_inc_angle_deg': 'inclination_angle',\n",
    "                     'bo_dec_angle_deg': 'declination_angle'}, inplace = True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Index(['Field_ID', 'pathname', 'filename', 'pulse_sequence', 'pulse_length',\n",
       "       'detect_coil', 'coil_diameter', 'n_turns', 'coil_type',\n",
       "       'bo_inc_angle_deg', 'bo_dec_angle_deg', 'z_max', 'estimate_rdp',\n",
       "       'reg_factor', 'use_cond_profile', 'loadcondpath', 'loadcondname',\n",
       "       'close_figs', 'save_pathname', 'save_filename', 'matfile', 'hdf5_file'],\n",
       "      dtype='object')"
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# Bring in the data into a dataframe\n",
    "\n",
    "infile = os.path.join(DB_ROOT, r\"SSC_conductive_earth_inversion_spreadsheet.csv\")\n",
    "df_acquisition = pd.read_csv(infile)\n",
    "\n",
    "df_acquisition.columns"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Index(['Field_ID', 'pathname', 'filename', 'pulse_sequence', 'pulse_length',\n",
       "       'detect_coil', 'coil_diameter', 'n_turns', 'coil_type',\n",
       "       'bo_inc_angle_deg', 'bo_dec_angle_deg', 'z_max', 'estimate_rdp',\n",
       "       'reg_factor', 'use_cond_profile', 'loadcondpath', 'loadcondname',\n",
       "       'close_figs', 'save_pathname', 'save_filename', 'matfile', 'hdf5_file',\n",
       "       'site_id'],\n",
       "      dtype='object')"
      ]
     },
     "execution_count": 23,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# Now add the location index and find it using a join on the site id column\n",
    "\n",
    "loc_id = -999 * np.ones(len(df_acquisition['Field_ID']),\n",
    "                      dtype = np.int64)\n",
    "\n",
    "for i , item in enumerate(df_acquisition['Field_ID'].values):\n",
    "    # find the location index\n",
    "    loc_id[i] = df[df['Field_ID'] == item].index[0]\n",
    "\n",
    "\n",
    "df_acquisition = df_acquisition.assign(site_id = loc_id)\n",
    "\n",
    "df_acquisition['pulse_length'].dtype\n",
    "\n",
    "df_acquisition = df_acquisition.sort_values(by='site_id').reset_index(drop=True)\n",
    "\n",
    "df_acquisition.columns"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Field_ID</th>\n",
       "      <th>pathname</th>\n",
       "      <th>filename</th>\n",
       "      <th>pulse_sequence</th>\n",
       "      <th>pulse_length</th>\n",
       "      <th>detect_coil</th>\n",
       "      <th>coil_diameter</th>\n",
       "      <th>n_turns</th>\n",
       "      <th>coil_type</th>\n",
       "      <th>bo_inc_angle_deg</th>\n",
       "      <th>...</th>\n",
       "      <th>reg_factor</th>\n",
       "      <th>use_cond_profile</th>\n",
       "      <th>loadcondpath</th>\n",
       "      <th>loadcondname</th>\n",
       "      <th>close_figs</th>\n",
       "      <th>save_pathname</th>\n",
       "      <th>save_filename</th>\n",
       "      <th>matfile</th>\n",
       "      <th>hdf5_file</th>\n",
       "      <th>site_id</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>AS_GMR_15A</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_15A</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.680</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_15A_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_15A</td>\n",
       "      <td>AS_GMR_15A_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>AS_GMR_23</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_23</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.780</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_23_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_23</td>\n",
       "      <td>AS_GMR_23_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>AS_GMR_20</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20</td>\n",
       "      <td>T1_40ms_noemi.mat</td>\n",
       "      <td>T1</td>\n",
       "      <td>40</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.728</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_20_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20</td>\n",
       "      <td>AS_GMR_20_conductive_earth_T1_40ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>AS_GMR_20</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.728</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_20_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20</td>\n",
       "      <td>AS_GMR_20_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>AS_GMR_20</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20</td>\n",
       "      <td>CPMG_15ms.mat</td>\n",
       "      <td>CPMG</td>\n",
       "      <td>15</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.728</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_20_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20</td>\n",
       "      <td>AS_GMR_20_conductive_earth_CPMG_15ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>AS_GMR_22</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_22</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.750</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_22_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_22</td>\n",
       "      <td>AS_GMR_22_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>AS_GMR_22</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_22</td>\n",
       "      <td>CPMG_15ms.mat</td>\n",
       "      <td>CPMG</td>\n",
       "      <td>15</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.750</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_22_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_22</td>\n",
       "      <td>AS_GMR_22_conductive_earth_CPMG_15ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>AS_GMR_21</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_21</td>\n",
       "      <td>FID_60ms.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.729</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_21_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_21</td>\n",
       "      <td>AS_GMR_21_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>AS_GMR_16</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_16</td>\n",
       "      <td>CPMG_15ms.mat</td>\n",
       "      <td>CPMG</td>\n",
       "      <td>15</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.678</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_16_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_16</td>\n",
       "      <td>AS_GMR_16_conductive_earth_CPMG_15ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>AS_GMR_16</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_16</td>\n",
       "      <td>FID_60ms.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.678</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_16_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_16</td>\n",
       "      <td>AS_GMR_16_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>AS_GMR_17</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_17</td>\n",
       "      <td>FID_60ms.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.690</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_17_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_17</td>\n",
       "      <td>AS_GMR_17_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>AS_GMR_14</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_14</td>\n",
       "      <td>T1_40ms_noemi.mat</td>\n",
       "      <td>T1</td>\n",
       "      <td>40</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.678</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_14_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_14</td>\n",
       "      <td>AS_GMR_14_conductive_earth_T1_40ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>AS_GMR_14</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_14</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.678</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_14_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_14</td>\n",
       "      <td>AS_GMR_14_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>AS_GMR_06</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_06</td>\n",
       "      <td>FID_60ms.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.635</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_06_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_06</td>\n",
       "      <td>AS_GMR_06_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>AS_GMR_05</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_05</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.630</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_05_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_05</td>\n",
       "      <td>AS_GMR_05_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>AS_GMR_10</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_10</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.663</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_10_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_10</td>\n",
       "      <td>AS_GMR_10_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>AS_GMR_12</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_12</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.666</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_12_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_12</td>\n",
       "      <td>AS_GMR_12_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>AS_GMR_12</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_12</td>\n",
       "      <td>T1_40ms_noemi.mat</td>\n",
       "      <td>T1</td>\n",
       "      <td>40</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.666</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_12_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_12</td>\n",
       "      <td>AS_GMR_12_conductive_earth_T1_40ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>AS_GMR_11</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_11</td>\n",
       "      <td>FID_60ms.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.666</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_11_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_11</td>\n",
       "      <td>AS_GMR_11_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>12</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>AS_GMR_29</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_29</td>\n",
       "      <td>FID_60ms.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.662</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_29_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_29</td>\n",
       "      <td>AS_GMR_29_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>AS_GMR_31</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_31</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.659</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_31_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_31</td>\n",
       "      <td>AS_GMR_31_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>AS_GMR_30</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_30</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.660</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_30_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_30</td>\n",
       "      <td>AS_GMR_30_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>AS_GMR_35</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_35</td>\n",
       "      <td>FID_60ms.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.668</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_35_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_35</td>\n",
       "      <td>AS_GMR_35_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>AS_GMR_08</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_08</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.649</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_08_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_08</td>\n",
       "      <td>AS_GMR_08_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>AS_GMR_36</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_36</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.659</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_36_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_36</td>\n",
       "      <td>AS_GMR_36_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>AS_GMR_38</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_38</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.656</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_38_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_38</td>\n",
       "      <td>AS_GMR_38_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>19</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>AS_GMR_39</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_39</td>\n",
       "      <td>FID_60ms.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.663</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_39_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_39</td>\n",
       "      <td>AS_GMR_39_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>AS_GMR_37</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_37</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.637</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_37_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_37</td>\n",
       "      <td>AS_GMR_37_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>AS_GMR_40</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_40</td>\n",
       "      <td>FID_60ms.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.660</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_40_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_40</td>\n",
       "      <td>AS_GMR_40_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>AS_GMR_26</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_26</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.643</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_26_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_26</td>\n",
       "      <td>AS_GMR_26_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>82</th>\n",
       "      <td>WD_GMR_20</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\WD_GMR_20</td>\n",
       "      <td>T1_40ms_noemi.mat</td>\n",
       "      <td>T1</td>\n",
       "      <td>40</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.478</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>WD_GMR_20_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_20</td>\n",
       "      <td>WD_GMR_20_conductive_earth_T1_40ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>54</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>83</th>\n",
       "      <td>WD_GMR_37</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\WD_GMR_37</td>\n",
       "      <td>T1_40ms_noemi.mat</td>\n",
       "      <td>T1</td>\n",
       "      <td>40</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.356</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>WD_GMR_37_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_37</td>\n",
       "      <td>WD_GMR_37_conductive_earth_T1_40ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>55</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>84</th>\n",
       "      <td>WD_GMR_37</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\WD_GMR_37</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.356</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>WD_GMR_37_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_37</td>\n",
       "      <td>WD_GMR_37_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>55</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>85</th>\n",
       "      <td>WD_GMR_37</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\WD_GMR_37</td>\n",
       "      <td>CPMG_15ms.mat</td>\n",
       "      <td>CPMG</td>\n",
       "      <td>15</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.356</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>WD_GMR_37_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_37</td>\n",
       "      <td>WD_GMR_37_conductive_earth_CPMG_15ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>55</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>86</th>\n",
       "      <td>WD_GMR_31</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\WD_GMR_31</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.383</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>WD_GMR_31_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_31</td>\n",
       "      <td>WD_GMR_31_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>56</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>87</th>\n",
       "      <td>WD_GMR_31</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\WD_GMR_31</td>\n",
       "      <td>T1_40ms_noemi.mat</td>\n",
       "      <td>T1</td>\n",
       "      <td>40</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.383</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>WD_GMR_31_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_31</td>\n",
       "      <td>WD_GMR_31_conductive_earth_T1_40ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>56</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>88</th>\n",
       "      <td>TC_GMR_25</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_25</td>\n",
       "      <td>CPMG_15ms.mat</td>\n",
       "      <td>CPMG</td>\n",
       "      <td>15</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.172</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_25_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_25</td>\n",
       "      <td>TC_GMR_25_conductive_earth_CPMG_15ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>57</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>89</th>\n",
       "      <td>TC_GMR_25</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_25</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.172</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_25_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_25</td>\n",
       "      <td>TC_GMR_25_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>57</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>90</th>\n",
       "      <td>TC_GMR_29</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_29</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.152</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_29_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_29</td>\n",
       "      <td>TC_GMR_29_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>58</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>91</th>\n",
       "      <td>TC_GMR_29</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_29</td>\n",
       "      <td>CPMG_15ms.mat</td>\n",
       "      <td>CPMG</td>\n",
       "      <td>15</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.152</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_29_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_29</td>\n",
       "      <td>TC_GMR_29_conductive_earth_CPMG_15ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>58</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>92</th>\n",
       "      <td>TC_GMR_30</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_30</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.191</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_30_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_30</td>\n",
       "      <td>TC_GMR_30_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>59</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>93</th>\n",
       "      <td>TC_GMR_20</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_20</td>\n",
       "      <td>CPMG_15ms.mat</td>\n",
       "      <td>CPMG</td>\n",
       "      <td>15</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.107</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_20_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_20</td>\n",
       "      <td>TC_GMR_20_conductive_earth_CPMG_15ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>94</th>\n",
       "      <td>TC_GMR_20</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_20</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.107</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_20_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_20</td>\n",
       "      <td>TC_GMR_20_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>95</th>\n",
       "      <td>TC_GMR_01</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_01</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.112</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_01_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_01</td>\n",
       "      <td>TC_GMR_01_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>61</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>96</th>\n",
       "      <td>TC_GMR_14</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_14</td>\n",
       "      <td>CPMG_15ms.mat</td>\n",
       "      <td>CPMG</td>\n",
       "      <td>15</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.069</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_14_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_14</td>\n",
       "      <td>TC_GMR_14_conductive_earth_CPMG_15ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>97</th>\n",
       "      <td>TC_GMR_14</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_14</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.069</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_14_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_14</td>\n",
       "      <td>TC_GMR_14_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>98</th>\n",
       "      <td>TC_GMR_18</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_18</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.091</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_18_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_18</td>\n",
       "      <td>TC_GMR_18_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>99</th>\n",
       "      <td>TT_GMR_04</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_04</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.264</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_04_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_04</td>\n",
       "      <td>TT_GMR_04_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>64</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>100</th>\n",
       "      <td>TT_GMR_09</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_09</td>\n",
       "      <td>T1_40ms_noemi.mat</td>\n",
       "      <td>T1</td>\n",
       "      <td>40</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.332</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_09_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_09</td>\n",
       "      <td>TT_GMR_09_conductive_earth_T1_40ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>65</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>101</th>\n",
       "      <td>TT_GMR_09</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_09</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.332</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_09_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_09</td>\n",
       "      <td>TT_GMR_09_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>65</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>102</th>\n",
       "      <td>TT_GMR_13</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_13</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.358</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_13_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_13</td>\n",
       "      <td>TT_GMR_13_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>66</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>103</th>\n",
       "      <td>TT_GMR_14</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_14</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.402</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_14_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_14</td>\n",
       "      <td>TT_GMR_14_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>67</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>104</th>\n",
       "      <td>TT_GMR_05</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_05</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.271</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_05_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_05</td>\n",
       "      <td>TT_GMR_05_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>68</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>105</th>\n",
       "      <td>TT_GMR_03</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_03</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.230</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_03_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_03</td>\n",
       "      <td>TT_GMR_03_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>69</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>106</th>\n",
       "      <td>TT_GMR_16</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_16</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.442</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_16_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_16</td>\n",
       "      <td>TT_GMR_16_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>107</th>\n",
       "      <td>TT_GMR_15</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_15</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.422</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_15_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_15</td>\n",
       "      <td>TT_GMR_15_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>71</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>108</th>\n",
       "      <td>TT_GMR_12</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_12</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.353</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_12_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_12</td>\n",
       "      <td>TT_GMR_12_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>72</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>109</th>\n",
       "      <td>TT_GMR_06</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_06</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.301</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_06_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_06</td>\n",
       "      <td>TT_GMR_06_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>73</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>110</th>\n",
       "      <td>TT_GMR_20a</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_20a</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.392</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TT_GMR_20a_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_20a</td>\n",
       "      <td>TT_GMR_20a_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>74</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>111</th>\n",
       "      <td>WD_GMR_13</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\WD_GMR_13</td>\n",
       "      <td>FID_80ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>80</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.212</td>\n",
       "      <td>...</td>\n",
       "      <td>0.005</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>WD_GMR_13_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_13</td>\n",
       "      <td>WD_GMR_13_conductive_earth_FID_80ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>75</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>112 rows × 23 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       Field_ID                                   pathname  \\\n",
       "0    AS_GMR_15A  E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_15A   \n",
       "1     AS_GMR_23   E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_23   \n",
       "2     AS_GMR_20   E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20   \n",
       "3     AS_GMR_20   E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20   \n",
       "4     AS_GMR_20   E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20   \n",
       "..          ...                                        ...   \n",
       "107   TT_GMR_15   E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_15   \n",
       "108   TT_GMR_12   E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_12   \n",
       "109   TT_GMR_06   E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_06   \n",
       "110  TT_GMR_20a  E:\\SSC\\NMR\\SNMR\\Processed_data\\TT_GMR_20a   \n",
       "111   WD_GMR_13   E:\\SSC\\NMR\\SNMR\\Processed_data\\WD_GMR_13   \n",
       "\n",
       "               filename pulse_sequence  pulse_length  detect_coil  \\\n",
       "0    FID_60ms_noemi.mat            FID            60            1   \n",
       "1    FID_60ms_noemi.mat            FID            60            1   \n",
       "2     T1_40ms_noemi.mat             T1            40            1   \n",
       "3    FID_60ms_noemi.mat            FID            60            1   \n",
       "4         CPMG_15ms.mat           CPMG            15            1   \n",
       "..                  ...            ...           ...          ...   \n",
       "107  FID_80ms_noemi.mat            FID            80            1   \n",
       "108  FID_80ms_noemi.mat            FID            80            1   \n",
       "109  FID_80ms_noemi.mat            FID            80            1   \n",
       "110  FID_80ms_noemi.mat            FID            80            1   \n",
       "111  FID_80ms_noemi.mat            FID            80            1   \n",
       "\n",
       "     coil_diameter  n_turns  coil_type  bo_inc_angle_deg  ...  reg_factor  \\\n",
       "0              110        1          1             4.680  ...       0.005   \n",
       "1              110        1          1             4.780  ...       0.005   \n",
       "2              110        1          1             4.728  ...       0.005   \n",
       "3              110        1          1             4.728  ...       0.005   \n",
       "4              110        1          1             4.728  ...       0.005   \n",
       "..             ...      ...        ...               ...  ...         ...   \n",
       "107            110        1          1             4.422  ...       0.005   \n",
       "108            110        1          1             4.353  ...       0.005   \n",
       "109            110        1          1             4.301  ...       0.005   \n",
       "110            110        1          1             4.392  ...       0.005   \n",
       "111            110        1          1             4.212  ...       0.005   \n",
       "\n",
       "     use_cond_profile                           loadcondpath  \\\n",
       "0                   1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   \n",
       "1                   1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   \n",
       "2                   1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   \n",
       "3                   1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   \n",
       "4                   1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   \n",
       "..                ...                                    ...   \n",
       "107                 1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   \n",
       "108                 1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   \n",
       "109                 1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   \n",
       "110                 1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   \n",
       "111                 1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   \n",
       "\n",
       "                   loadcondname  close_figs  \\\n",
       "0    AS_GMR_15A_res_profile.txt           1   \n",
       "1     AS_GMR_23_res_profile.txt           1   \n",
       "2     AS_GMR_20_res_profile.txt           1   \n",
       "3     AS_GMR_20_res_profile.txt           1   \n",
       "4     AS_GMR_20_res_profile.txt           1   \n",
       "..                          ...         ...   \n",
       "107   TT_GMR_15_res_profile.txt           1   \n",
       "108   TT_GMR_12_res_profile.txt           1   \n",
       "109   TT_GMR_06_res_profile.txt           1   \n",
       "110  TT_GMR_20a_res_profile.txt           1   \n",
       "111   WD_GMR_13_res_profile.txt           1   \n",
       "\n",
       "                             save_pathname  \\\n",
       "0    E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_15A   \n",
       "1     E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_23   \n",
       "2     E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20   \n",
       "3     E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20   \n",
       "4     E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20   \n",
       "..                                     ...   \n",
       "107   E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_15   \n",
       "108   E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_12   \n",
       "109   E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_06   \n",
       "110  E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_20a   \n",
       "111   E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_13   \n",
       "\n",
       "                            save_filename  matfile hdf5_file site_id  \n",
       "0    AS_GMR_15A_conductive_earth_FID_60ms      NaN       NaN       0  \n",
       "1     AS_GMR_23_conductive_earth_FID_60ms      NaN       NaN       1  \n",
       "2      AS_GMR_20_conductive_earth_T1_40ms      NaN       NaN       2  \n",
       "3     AS_GMR_20_conductive_earth_FID_60ms      NaN       NaN       2  \n",
       "4    AS_GMR_20_conductive_earth_CPMG_15ms      NaN       NaN       2  \n",
       "..                                    ...      ...       ...     ...  \n",
       "107   TT_GMR_15_conductive_earth_FID_80ms      NaN       NaN      71  \n",
       "108   TT_GMR_12_conductive_earth_FID_80ms      NaN       NaN      72  \n",
       "109   TT_GMR_06_conductive_earth_FID_80ms      NaN       NaN      73  \n",
       "110  TT_GMR_20a_conductive_earth_FID_80ms      NaN       NaN      74  \n",
       "111   WD_GMR_13_conductive_earth_FID_80ms      NaN       NaN      75  \n",
       "\n",
       "[112 rows x 23 columns]"
      ]
     },
     "execution_count": 25,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_acquisition"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\PCUser\\Anaconda3\\envs\\hydrogeol_utils\\lib\\site-packages\\pandas\\core\\indexing.py:202: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  self._setitem_with_indexer(indexer, value)\n"
     ]
    }
   ],
   "source": [
    "\n",
    "df_acquisition['inversion_file'] = ''\n",
    "\n",
    "for index, row in df_acquisition.iterrows():\n",
    "    new_path = row['save_pathname'] + '\\\\'#.replace(r'D:\\EastKimberley_SNMR\\SNMR_database', DB_ROOT)\n",
    "    \n",
    "    df_acquisition['inversion_file'].iloc[index] = new_path + row['save_filename'] + '\\\\' + row['save_filename'] + '_1d_inversion.txt'\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Field_ID</th>\n",
       "      <th>Site_Code</th>\n",
       "      <th>elevation_(mAHD)</th>\n",
       "      <th>mid_X</th>\n",
       "      <th>mid_Y</th>\n",
       "      <th>declination_angle</th>\n",
       "      <th>inclination_angle</th>\n",
       "      <th>date</th>\n",
       "      <th>loop_width</th>\n",
       "      <th>coil_type</th>\n",
       "      <th>geometry</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>AS_GMR_15A</td>\n",
       "      <td>SSCSNMR18032001</td>\n",
       "      <td>508.541321</td>\n",
       "      <td>402460.3760</td>\n",
       "      <td>7360850.562</td>\n",
       "      <td>4.680</td>\n",
       "      <td>-55.524</td>\n",
       "      <td>2018-03-20</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((402519.680147 7360900.89077, 402510....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>AS_GMR_23</td>\n",
       "      <td>SSCSNMR18032101</td>\n",
       "      <td>436.932221</td>\n",
       "      <td>440686.9021</td>\n",
       "      <td>7368656.659</td>\n",
       "      <td>4.780</td>\n",
       "      <td>-55.413</td>\n",
       "      <td>2018-03-21</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((440746.293937 7368706.88446, 440737....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>AS_GMR_20</td>\n",
       "      <td>SSCSNMR18032201</td>\n",
       "      <td>489.896881</td>\n",
       "      <td>421235.9865</td>\n",
       "      <td>7364864.674</td>\n",
       "      <td>4.728</td>\n",
       "      <td>-55.468</td>\n",
       "      <td>2018-03-22</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((421295.332728 7364914.95302, 421286....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>AS_GMR_22</td>\n",
       "      <td>SSCSNMR18032202</td>\n",
       "      <td>458.919800</td>\n",
       "      <td>429375.4174</td>\n",
       "      <td>7366308.744</td>\n",
       "      <td>4.750</td>\n",
       "      <td>-55.448</td>\n",
       "      <td>2018-03-22</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((429434.782927 7366359.00042, 429425....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>AS_GMR_21</td>\n",
       "      <td>SSCSNMR18032301</td>\n",
       "      <td>469.040283</td>\n",
       "      <td>423033.3493</td>\n",
       "      <td>7368303.693</td>\n",
       "      <td>4.729</td>\n",
       "      <td>-55.429</td>\n",
       "      <td>2018-03-23</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((423092.696423 7368353.97112, 423083....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>AS_GMR_16</td>\n",
       "      <td>SSCSNMR18032401</td>\n",
       "      <td>507.333221</td>\n",
       "      <td>403050.4476</td>\n",
       "      <td>7363119.763</td>\n",
       "      <td>4.678</td>\n",
       "      <td>-55.498</td>\n",
       "      <td>2018-03-24</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((403109.749908 7363170.09466, 403100....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>AS_GMR_17</td>\n",
       "      <td>SSCSNMR18032402</td>\n",
       "      <td>505.567627</td>\n",
       "      <td>404636.0204</td>\n",
       "      <td>7356992.742</td>\n",
       "      <td>4.690</td>\n",
       "      <td>-55.564</td>\n",
       "      <td>2018-03-24</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((404695.333258 7357043.06062, 404686....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>AS_GMR_14</td>\n",
       "      <td>SSCSNMR18032502</td>\n",
       "      <td>509.229584</td>\n",
       "      <td>401598.8897</td>\n",
       "      <td>7359584.577</td>\n",
       "      <td>4.678</td>\n",
       "      <td>-55.539</td>\n",
       "      <td>2018-03-25</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((401658.192059 7359634.90807, 401649....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>AS_GMR_06</td>\n",
       "      <td>SSCSNMR18032501</td>\n",
       "      <td>535.069092</td>\n",
       "      <td>386690.6775</td>\n",
       "      <td>7360407.278</td>\n",
       "      <td>4.635</td>\n",
       "      <td>-55.538</td>\n",
       "      <td>2018-03-25</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((386749.942096 7360457.65329, 386741....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>AS_GMR_05</td>\n",
       "      <td>SSCSNMR18032601</td>\n",
       "      <td>537.965637</td>\n",
       "      <td>385129.6884</td>\n",
       "      <td>7360460.473</td>\n",
       "      <td>4.630</td>\n",
       "      <td>-55.538</td>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((385188.948524 7360510.85435, 385180....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>AS_GMR_10</td>\n",
       "      <td>SSCSNMR18032602</td>\n",
       "      <td>525.230225</td>\n",
       "      <td>394563.0599</td>\n",
       "      <td>7355220.748</td>\n",
       "      <td>4.663</td>\n",
       "      <td>-55.591</td>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((394622.349062 7355271.0943, 394613.4...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>AS_GMR_12</td>\n",
       "      <td>SSCSNMR18032603</td>\n",
       "      <td>521.790466</td>\n",
       "      <td>396645.0914</td>\n",
       "      <td>7357785.742</td>\n",
       "      <td>4.666</td>\n",
       "      <td>-55.562</td>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396704.383196 7357836.08556, 396695....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>AS_GMR_11</td>\n",
       "      <td>SSCSNMR18032701</td>\n",
       "      <td>520.568176</td>\n",
       "      <td>396120.4824</td>\n",
       "      <td>7356358.207</td>\n",
       "      <td>4.666</td>\n",
       "      <td>-55.577</td>\n",
       "      <td>2018-03-27</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396179.774244 7356408.55101, 396170....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>AS_GMR_29</td>\n",
       "      <td>SSCSNMR18040403</td>\n",
       "      <td>519.205322</td>\n",
       "      <td>397435.9890</td>\n",
       "      <td>7362682.297</td>\n",
       "      <td>4.662</td>\n",
       "      <td>-55.507</td>\n",
       "      <td>2018-04-04</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397495.277293 7362732.64504, 397486....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>AS_GMR_31</td>\n",
       "      <td>SSCSNMR18040401</td>\n",
       "      <td>522.754456</td>\n",
       "      <td>397573.7311</td>\n",
       "      <td>7365587.732</td>\n",
       "      <td>4.659</td>\n",
       "      <td>-55.474</td>\n",
       "      <td>2018-04-04</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397633.016805 7365638.0826, 397624.0...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>AS_GMR_30</td>\n",
       "      <td>SSCSNMR18040402</td>\n",
       "      <td>518.918579</td>\n",
       "      <td>397728.4072</td>\n",
       "      <td>7364610.487</td>\n",
       "      <td>4.660</td>\n",
       "      <td>-55.486</td>\n",
       "      <td>2018-04-04</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397772.642145 7364674.46592, 397792....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>AS_GMR_35</td>\n",
       "      <td>SSCSNMR18040503</td>\n",
       "      <td>514.030640</td>\n",
       "      <td>397843.0405</td>\n",
       "      <td>7357843.008</td>\n",
       "      <td>4.668</td>\n",
       "      <td>-55.560</td>\n",
       "      <td>2018-04-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397902.334099 7357893.34919, 397893....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>AS_GMR_08</td>\n",
       "      <td>SSCSNMR18040502</td>\n",
       "      <td>525.491455</td>\n",
       "      <td>391700.5106</td>\n",
       "      <td>7358847.919</td>\n",
       "      <td>4.649</td>\n",
       "      <td>-55.551</td>\n",
       "      <td>2018-04-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((391759.787495 7358898.28034, 391750....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>AS_GMR_36</td>\n",
       "      <td>SSCSNMR18040501</td>\n",
       "      <td>521.629700</td>\n",
       "      <td>394408.9074</td>\n",
       "      <td>7357221.633</td>\n",
       "      <td>4.659</td>\n",
       "      <td>-55.569</td>\n",
       "      <td>2018-04-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((394468.193077 7357271.9836, 394459.2...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>AS_GMR_38</td>\n",
       "      <td>SSCSNMR18040601</td>\n",
       "      <td>522.063354</td>\n",
       "      <td>393993.2154</td>\n",
       "      <td>7358644.791</td>\n",
       "      <td>4.656</td>\n",
       "      <td>-55.553</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((394052.498464 7358695.14484, 394043....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>AS_GMR_39</td>\n",
       "      <td>SSCSNMR18040602</td>\n",
       "      <td>518.929626</td>\n",
       "      <td>396455.0092</td>\n",
       "      <td>7358845.277</td>\n",
       "      <td>4.663</td>\n",
       "      <td>-55.550</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396461.332412 7358922.80114, 396532....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>AS_GMR_37</td>\n",
       "      <td>SSCSNMR18040603</td>\n",
       "      <td>533.554016</td>\n",
       "      <td>388299.0296</td>\n",
       "      <td>7361394.482</td>\n",
       "      <td>4.637</td>\n",
       "      <td>-55.527</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((388325.168893 7361467.74027, 388372....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>AS_GMR_40</td>\n",
       "      <td>SSCSNMR18040604</td>\n",
       "      <td>519.203491</td>\n",
       "      <td>396010.6242</td>\n",
       "      <td>7360270.428</td>\n",
       "      <td>4.660</td>\n",
       "      <td>-55.533</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396069.91075 7360320.77805, 396060.9...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>AS_GMR_26</td>\n",
       "      <td>SSCSNMR18040703</td>\n",
       "      <td>529.692322</td>\n",
       "      <td>390924.3649</td>\n",
       "      <td>7362787.419</td>\n",
       "      <td>4.643</td>\n",
       "      <td>-55.509</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((390983.636536 7362837.78604, 390974....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>AS_GMR_07</td>\n",
       "      <td>SSCSNMR18040704</td>\n",
       "      <td>542.890808</td>\n",
       "      <td>383653.7086</td>\n",
       "      <td>7363414.818</td>\n",
       "      <td>4.621</td>\n",
       "      <td>-55.507</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((383731.237503 7363408.55145, 383647....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>AS_GMR_41</td>\n",
       "      <td>SSCSNMR18040701</td>\n",
       "      <td>527.671570</td>\n",
       "      <td>391221.5061</td>\n",
       "      <td>7361145.537</td>\n",
       "      <td>4.645</td>\n",
       "      <td>-55.527</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((391280.779424 7361195.90201, 391271....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>AS_GMR_02</td>\n",
       "      <td>SSCSNMR18040702</td>\n",
       "      <td>546.977905</td>\n",
       "      <td>380595.1071</td>\n",
       "      <td>7361869.734</td>\n",
       "      <td>4.614</td>\n",
       "      <td>-55.525</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((380621.217026 7361943.00279, 380668....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>AS_GMR_09</td>\n",
       "      <td>SSCSNMR18040801</td>\n",
       "      <td>538.788757</td>\n",
       "      <td>393272.9722</td>\n",
       "      <td>7352590.995</td>\n",
       "      <td>4.660</td>\n",
       "      <td>-55.619</td>\n",
       "      <td>2018-04-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((393350.496863 7352584.67536, 393266....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>AS_GMR_42</td>\n",
       "      <td>SSCSNMR18040802</td>\n",
       "      <td>518.647766</td>\n",
       "      <td>396901.4409</td>\n",
       "      <td>7361079.573</td>\n",
       "      <td>4.661</td>\n",
       "      <td>-55.525</td>\n",
       "      <td>2018-04-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396968.570551 7361118.86173, 396940....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>AS_GMR_43</td>\n",
       "      <td>SSCSNMR18040803</td>\n",
       "      <td>512.320007</td>\n",
       "      <td>397140.3486</td>\n",
       "      <td>7356503.766</td>\n",
       "      <td>4.667</td>\n",
       "      <td>-55.573</td>\n",
       "      <td>2018-04-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397199.641336 7356554.10888, 397190....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>WD_GMR_32</td>\n",
       "      <td>SSCSNMR18050301</td>\n",
       "      <td>381.487274</td>\n",
       "      <td>397963.2731</td>\n",
       "      <td>7686074.162</td>\n",
       "      <td>4.302</td>\n",
       "      <td>-51.831</td>\n",
       "      <td>2018-05-03</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((398018.370911 7686129.0642, 398018.1...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>WD_GMR_34</td>\n",
       "      <td>SSCSNMR18050501</td>\n",
       "      <td>401.434265</td>\n",
       "      <td>405694.0955</td>\n",
       "      <td>7671812.411</td>\n",
       "      <td>4.338</td>\n",
       "      <td>-51.997</td>\n",
       "      <td>2018-05-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((405749.13195 7671867.37473, 405749.0...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>WD_GMR_29</td>\n",
       "      <td>SSCSNMR18050601</td>\n",
       "      <td>365.610931</td>\n",
       "      <td>427574.2116</td>\n",
       "      <td>7692080.211</td>\n",
       "      <td>4.371</td>\n",
       "      <td>-51.745</td>\n",
       "      <td>2018-05-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((427641.141573 7692119.83898, 427613....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>WD_GMR_35</td>\n",
       "      <td>SSCSNMR18050701</td>\n",
       "      <td>406.008514</td>\n",
       "      <td>423281.0722</td>\n",
       "      <td>7658316.777</td>\n",
       "      <td>4.398</td>\n",
       "      <td>-52.146</td>\n",
       "      <td>2018-05-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((423336.166227 7658371.68277, 423335....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>WD_GMR_18</td>\n",
       "      <td>SSCSNMR18050702</td>\n",
       "      <td>397.137421</td>\n",
       "      <td>429449.7088</td>\n",
       "      <td>7660512.632</td>\n",
       "      <td>4.412</td>\n",
       "      <td>-52.116</td>\n",
       "      <td>2018-05-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((429504.816235 7660567.52398, 429504....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>WD_GMR_24</td>\n",
       "      <td>SSCSNMR18050801</td>\n",
       "      <td>391.673462</td>\n",
       "      <td>456100.1295</td>\n",
       "      <td>7680249.626</td>\n",
       "      <td>4.458</td>\n",
       "      <td>-51.868</td>\n",
       "      <td>2018-05-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((456155.280962 7680304.4743, 456154.9...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52</th>\n",
       "      <td>WD_GMR_25</td>\n",
       "      <td>SSCSNMR18050802</td>\n",
       "      <td>394.434235</td>\n",
       "      <td>456984.6333</td>\n",
       "      <td>7675494.494</td>\n",
       "      <td>4.466</td>\n",
       "      <td>-51.923</td>\n",
       "      <td>2018-05-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((457039.696648 7675549.43086, 457039....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53</th>\n",
       "      <td>WD_GMR_36a</td>\n",
       "      <td>SSCSNMR18050901</td>\n",
       "      <td>392.131622</td>\n",
       "      <td>468263.5920</td>\n",
       "      <td>7648846.529</td>\n",
       "      <td>4.526</td>\n",
       "      <td>-52.228</td>\n",
       "      <td>2018-05-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((468318.71279 7648901.40785, 468318.4...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>54</th>\n",
       "      <td>WD_GMR_20</td>\n",
       "      <td>SSCSNMR18050902</td>\n",
       "      <td>395.238586</td>\n",
       "      <td>458727.4202</td>\n",
       "      <td>7668938.205</td>\n",
       "      <td>4.478</td>\n",
       "      <td>-51.998</td>\n",
       "      <td>2018-05-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((458782.590772 7668993.03392, 458782....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>55</th>\n",
       "      <td>WD_GMR_37</td>\n",
       "      <td>SSCSNMR18051002</td>\n",
       "      <td>364.628113</td>\n",
       "      <td>424634.2215</td>\n",
       "      <td>7698005.177</td>\n",
       "      <td>4.356</td>\n",
       "      <td>-51.676</td>\n",
       "      <td>2018-05-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((424693.240096 7698055.84095, 424684....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>56</th>\n",
       "      <td>WD_GMR_31</td>\n",
       "      <td>SSCSNMR18051001</td>\n",
       "      <td>370.283356</td>\n",
       "      <td>434697.8195</td>\n",
       "      <td>7697203.578</td>\n",
       "      <td>4.383</td>\n",
       "      <td>-51.680</td>\n",
       "      <td>2018-05-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((434747.172096 7697263.69758, 434757....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57</th>\n",
       "      <td>TC_GMR_25</td>\n",
       "      <td>SSCSNMR18093001</td>\n",
       "      <td>321.323212</td>\n",
       "      <td>407819.4942</td>\n",
       "      <td>7806828.560</td>\n",
       "      <td>4.172</td>\n",
       "      <td>-50.368</td>\n",
       "      <td>2018-09-30</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((407831.892555 7806905.34751, 407896....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>58</th>\n",
       "      <td>TC_GMR_29</td>\n",
       "      <td>SSCSNMR18093002</td>\n",
       "      <td>314.635956</td>\n",
       "      <td>402323.8554</td>\n",
       "      <td>7812089.585</td>\n",
       "      <td>4.152</td>\n",
       "      <td>-50.306</td>\n",
       "      <td>2018-09-30</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((402382.693226 7812140.45827, 402374....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59</th>\n",
       "      <td>TC_GMR_30</td>\n",
       "      <td>SSCSNMR18093003</td>\n",
       "      <td>333.439636</td>\n",
       "      <td>413310.8461</td>\n",
       "      <td>7801658.554</td>\n",
       "      <td>4.191</td>\n",
       "      <td>-50.428</td>\n",
       "      <td>2018-09-30</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((413369.718551 7801709.38733, 413361....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60</th>\n",
       "      <td>TC_GMR_20</td>\n",
       "      <td>SSCSNMR18100101</td>\n",
       "      <td>296.871094</td>\n",
       "      <td>386238.4956</td>\n",
       "      <td>7816719.298</td>\n",
       "      <td>4.107</td>\n",
       "      <td>-50.257</td>\n",
       "      <td>2018-10-01</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((386297.293463 7816770.21753, 386289....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>61</th>\n",
       "      <td>TC_GMR_01</td>\n",
       "      <td>SSCSNMR18100102</td>\n",
       "      <td>298.433380</td>\n",
       "      <td>387493.6055</td>\n",
       "      <td>7814892.545</td>\n",
       "      <td>4.112</td>\n",
       "      <td>-50.279</td>\n",
       "      <td>2018-10-01</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((387552.407729 7814943.45967, 387544....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62</th>\n",
       "      <td>TC_GMR_14</td>\n",
       "      <td>SSCSNMR18100201</td>\n",
       "      <td>280.380402</td>\n",
       "      <td>372041.8150</td>\n",
       "      <td>7818987.175</td>\n",
       "      <td>4.069</td>\n",
       "      <td>-50.236</td>\n",
       "      <td>2018-10-02</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((372100.57899 7819038.13408, 372092.7...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63</th>\n",
       "      <td>TC_GMR_18</td>\n",
       "      <td>SSCSNMR18100202</td>\n",
       "      <td>290.686523</td>\n",
       "      <td>381027.6859</td>\n",
       "      <td>7818890.070</td>\n",
       "      <td>4.091</td>\n",
       "      <td>-50.231</td>\n",
       "      <td>2018-10-02</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((381086.469551 7818941.00569, 381078....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>64</th>\n",
       "      <td>TT_GMR_04</td>\n",
       "      <td>SSCSNMR18100701</td>\n",
       "      <td>624.481628</td>\n",
       "      <td>321867.7899</td>\n",
       "      <td>7515214.681</td>\n",
       "      <td>4.264</td>\n",
       "      <td>-53.842</td>\n",
       "      <td>2018-10-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((321926.727048 7515265.43948, 321918....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>65</th>\n",
       "      <td>TT_GMR_09</td>\n",
       "      <td>SSCSNMR18100801</td>\n",
       "      <td>578.580200</td>\n",
       "      <td>349392.0973</td>\n",
       "      <td>7519962.008</td>\n",
       "      <td>4.332</td>\n",
       "      <td>-53.773</td>\n",
       "      <td>2018-10-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((349451.094674 7520012.69612, 349442....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>66</th>\n",
       "      <td>TT_GMR_13</td>\n",
       "      <td>SSCSNMR18100802</td>\n",
       "      <td>574.765625</td>\n",
       "      <td>355877.9852</td>\n",
       "      <td>7511898.793</td>\n",
       "      <td>4.358</td>\n",
       "      <td>-53.863</td>\n",
       "      <td>2018-10-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((355937.005565 7511949.45468, 355928....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>67</th>\n",
       "      <td>TT_GMR_14</td>\n",
       "      <td>SSCSNMR18100803</td>\n",
       "      <td>586.058838</td>\n",
       "      <td>369170.4482</td>\n",
       "      <td>7504233.774</td>\n",
       "      <td>4.402</td>\n",
       "      <td>-53.942</td>\n",
       "      <td>2018-10-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((369229.507366 7504284.38983, 369221....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>68</th>\n",
       "      <td>TT_GMR_05</td>\n",
       "      <td>SSCSNMR18100901</td>\n",
       "      <td>608.171326</td>\n",
       "      <td>327504.1999</td>\n",
       "      <td>7522354.477</td>\n",
       "      <td>4.271</td>\n",
       "      <td>-53.757</td>\n",
       "      <td>2018-10-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((327563.143201 7522405.22853, 327554....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>69</th>\n",
       "      <td>TT_GMR_03</td>\n",
       "      <td>SSCSNMR18100902</td>\n",
       "      <td>609.428467</td>\n",
       "      <td>315051.5407</td>\n",
       "      <td>7530376.453</td>\n",
       "      <td>4.230</td>\n",
       "      <td>-53.672</td>\n",
       "      <td>2018-10-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((315110.447685 7530427.24665, 315102....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>70</th>\n",
       "      <td>TT_GMR_16</td>\n",
       "      <td>SSCSNMR18101002</td>\n",
       "      <td>625.755127</td>\n",
       "      <td>374902.7009</td>\n",
       "      <td>7480976.078</td>\n",
       "      <td>4.442</td>\n",
       "      <td>-54.201</td>\n",
       "      <td>2018-10-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((374961.795423 7481026.65272, 374953....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>71</th>\n",
       "      <td>TT_GMR_15</td>\n",
       "      <td>SSCSNMR18101001</td>\n",
       "      <td>600.468689</td>\n",
       "      <td>372440.5256</td>\n",
       "      <td>7493864.659</td>\n",
       "      <td>4.422</td>\n",
       "      <td>-54.058</td>\n",
       "      <td>2018-10-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((372499.602447 7493915.25475, 372491....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>72</th>\n",
       "      <td>TT_GMR_12</td>\n",
       "      <td>SSCSNMR18101202</td>\n",
       "      <td>557.927002</td>\n",
       "      <td>359844.8114</td>\n",
       "      <td>7525739.883</td>\n",
       "      <td>4.353</td>\n",
       "      <td>-53.702</td>\n",
       "      <td>2018-10-12</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((359903.827349 7525790.54996, 359895....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>73</th>\n",
       "      <td>TT_GMR_06</td>\n",
       "      <td>SSCSNMR18101203</td>\n",
       "      <td>586.822388</td>\n",
       "      <td>340950.1837</td>\n",
       "      <td>7527435.463</td>\n",
       "      <td>4.301</td>\n",
       "      <td>-53.693</td>\n",
       "      <td>2018-10-12</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((341009.153633 7527486.18381, 341000....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>74</th>\n",
       "      <td>TT_GMR_20a</td>\n",
       "      <td>SSCSNMR18101201</td>\n",
       "      <td>563.334290</td>\n",
       "      <td>371664.9428</td>\n",
       "      <td>7518768.508</td>\n",
       "      <td>4.392</td>\n",
       "      <td>-53.776</td>\n",
       "      <td>2018-10-12</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((371723.993154 7518819.13462, 371715....</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75</th>\n",
       "      <td>WD_GMR_13</td>\n",
       "      <td>SSCSNMR18101401</td>\n",
       "      <td>354.544952</td>\n",
       "      <td>381765.0085</td>\n",
       "      <td>7707451.003</td>\n",
       "      <td>4.212</td>\n",
       "      <td>-51.577</td>\n",
       "      <td>2018-10-14</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((381823.899552 7707501.81452, 381815....</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>76 rows × 11 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Field_ID        Site_Code  elevation_(mAHD)        mid_X        mid_Y  \\\n",
       "0   AS_GMR_15A  SSCSNMR18032001        508.541321  402460.3760  7360850.562   \n",
       "1    AS_GMR_23  SSCSNMR18032101        436.932221  440686.9021  7368656.659   \n",
       "2    AS_GMR_20  SSCSNMR18032201        489.896881  421235.9865  7364864.674   \n",
       "3    AS_GMR_22  SSCSNMR18032202        458.919800  429375.4174  7366308.744   \n",
       "4    AS_GMR_21  SSCSNMR18032301        469.040283  423033.3493  7368303.693   \n",
       "..         ...              ...               ...          ...          ...   \n",
       "71   TT_GMR_15  SSCSNMR18101001        600.468689  372440.5256  7493864.659   \n",
       "72   TT_GMR_12  SSCSNMR18101202        557.927002  359844.8114  7525739.883   \n",
       "73   TT_GMR_06  SSCSNMR18101203        586.822388  340950.1837  7527435.463   \n",
       "74  TT_GMR_20a  SSCSNMR18101201        563.334290  371664.9428  7518768.508   \n",
       "75   WD_GMR_13  SSCSNMR18101401        354.544952  381765.0085  7707451.003   \n",
       "\n",
       "    declination_angle  inclination_angle       date  loop_width  coil_type  \\\n",
       "0               4.680            -55.524 2018-03-20         110          1   \n",
       "1               4.780            -55.413 2018-03-21         110          1   \n",
       "2               4.728            -55.468 2018-03-22         110          1   \n",
       "3               4.750            -55.448 2018-03-22         110          1   \n",
       "4               4.729            -55.429 2018-03-23         110          1   \n",
       "..                ...                ...        ...         ...        ...   \n",
       "71              4.422            -54.058 2018-10-10         110          1   \n",
       "72              4.353            -53.702 2018-10-12         110          1   \n",
       "73              4.301            -53.693 2018-10-12         110          1   \n",
       "74              4.392            -53.776 2018-10-12         110          1   \n",
       "75              4.212            -51.577 2018-10-14         110          1   \n",
       "\n",
       "                                             geometry  \n",
       "0   POLYGON ((402519.680147 7360900.89077, 402510....  \n",
       "1   POLYGON ((440746.293937 7368706.88446, 440737....  \n",
       "2   POLYGON ((421295.332728 7364914.95302, 421286....  \n",
       "3   POLYGON ((429434.782927 7366359.00042, 429425....  \n",
       "4   POLYGON ((423092.696423 7368353.97112, 423083....  \n",
       "..                                                ...  \n",
       "71  POLYGON ((372499.602447 7493915.25475, 372491....  \n",
       "72  POLYGON ((359903.827349 7525790.54996, 359895....  \n",
       "73  POLYGON ((341009.153633 7527486.18381, 341000....  \n",
       "74  POLYGON ((371723.993154 7518819.13462, 371715....  \n",
       "75  POLYGON ((381823.899552 7707501.81452, 381815....  \n",
       "\n",
       "[76 rows x 11 columns]"
      ]
     },
     "execution_count": 28,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Field_ID</th>\n",
       "      <th>pathname</th>\n",
       "      <th>filename</th>\n",
       "      <th>pulse_sequence</th>\n",
       "      <th>pulse_length</th>\n",
       "      <th>detect_coil</th>\n",
       "      <th>coil_diameter</th>\n",
       "      <th>n_turns</th>\n",
       "      <th>coil_type</th>\n",
       "      <th>bo_inc_angle_deg</th>\n",
       "      <th>...</th>\n",
       "      <th>use_cond_profile</th>\n",
       "      <th>loadcondpath</th>\n",
       "      <th>loadcondname</th>\n",
       "      <th>close_figs</th>\n",
       "      <th>save_pathname</th>\n",
       "      <th>save_filename</th>\n",
       "      <th>matfile</th>\n",
       "      <th>hdf5_file</th>\n",
       "      <th>site_id</th>\n",
       "      <th>inversion_file</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>AS_GMR_15A</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_15A</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.680</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_15A_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_15A</td>\n",
       "      <td>AS_GMR_15A_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_15A\\AS_GMR_1...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>AS_GMR_23</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_23</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.780</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_23_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_23</td>\n",
       "      <td>AS_GMR_23_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_23\\AS_GMR_23...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>AS_GMR_20</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20</td>\n",
       "      <td>T1_40ms_noemi.mat</td>\n",
       "      <td>T1</td>\n",
       "      <td>40</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.728</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_20_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20</td>\n",
       "      <td>AS_GMR_20_conductive_earth_T1_40ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20\\AS_GMR_20...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>AS_GMR_20</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20</td>\n",
       "      <td>FID_60ms_noemi.mat</td>\n",
       "      <td>FID</td>\n",
       "      <td>60</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.728</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_20_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20</td>\n",
       "      <td>AS_GMR_20_conductive_earth_FID_60ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20\\AS_GMR_20...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>AS_GMR_20</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20</td>\n",
       "      <td>CPMG_15ms.mat</td>\n",
       "      <td>CPMG</td>\n",
       "      <td>15</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.728</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>AS_GMR_20_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20</td>\n",
       "      <td>AS_GMR_20_conductive_earth_CPMG_15ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20\\AS_GMR_20...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 24 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     Field_ID                                   pathname            filename  \\\n",
       "0  AS_GMR_15A  E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_15A  FID_60ms_noemi.mat   \n",
       "1   AS_GMR_23   E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_23  FID_60ms_noemi.mat   \n",
       "2   AS_GMR_20   E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20   T1_40ms_noemi.mat   \n",
       "3   AS_GMR_20   E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20  FID_60ms_noemi.mat   \n",
       "4   AS_GMR_20   E:\\SSC\\NMR\\SNMR\\Processed_data\\AS_GMR_20       CPMG_15ms.mat   \n",
       "\n",
       "  pulse_sequence  pulse_length  detect_coil  coil_diameter  n_turns  \\\n",
       "0            FID            60            1            110        1   \n",
       "1            FID            60            1            110        1   \n",
       "2             T1            40            1            110        1   \n",
       "3            FID            60            1            110        1   \n",
       "4           CPMG            15            1            110        1   \n",
       "\n",
       "   coil_type  bo_inc_angle_deg  ...  use_cond_profile  \\\n",
       "0          1             4.680  ...                 1   \n",
       "1          1             4.780  ...                 1   \n",
       "2          1             4.728  ...                 1   \n",
       "3          1             4.728  ...                 1   \n",
       "4          1             4.728  ...                 1   \n",
       "\n",
       "                            loadcondpath                loadcondname  \\\n",
       "0  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles  AS_GMR_15A_res_profile.txt   \n",
       "1  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   AS_GMR_23_res_profile.txt   \n",
       "2  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   AS_GMR_20_res_profile.txt   \n",
       "3  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   AS_GMR_20_res_profile.txt   \n",
       "4  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles   AS_GMR_20_res_profile.txt   \n",
       "\n",
       "   close_figs                          save_pathname  \\\n",
       "0           1  E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_15A   \n",
       "1           1   E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_23   \n",
       "2           1   E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20   \n",
       "3           1   E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20   \n",
       "4           1   E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20   \n",
       "\n",
       "                          save_filename matfile  hdf5_file site_id  \\\n",
       "0  AS_GMR_15A_conductive_earth_FID_60ms     NaN        NaN       0   \n",
       "1   AS_GMR_23_conductive_earth_FID_60ms     NaN        NaN       1   \n",
       "2    AS_GMR_20_conductive_earth_T1_40ms     NaN        NaN       2   \n",
       "3   AS_GMR_20_conductive_earth_FID_60ms     NaN        NaN       2   \n",
       "4  AS_GMR_20_conductive_earth_CPMG_15ms     NaN        NaN       2   \n",
       "\n",
       "                                      inversion_file  \n",
       "0  E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_15A\\AS_GMR_1...  \n",
       "1  E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_23\\AS_GMR_23...  \n",
       "2  E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20\\AS_GMR_20...  \n",
       "3  E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20\\AS_GMR_20...  \n",
       "4  E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20\\AS_GMR_20...  \n",
       "\n",
       "[5 rows x 24 columns]"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_acquisition.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Define headers for the various inversion files\n",
    "\n",
    "header_dict  = {}\n",
    "\n",
    "header_dict['FID'] = ['Depth_from', 'Depth_to', 'K_rel', 'water_content', 'T2*', 'frequency',\n",
    "          'phase', 'T1', 'Bound_water_content', 'Mobile_water_content', 'Total_water_content']\n",
    "\n",
    "header_dict['CPMG'] = ['Depth_from', 'Depth_to', 'K_rel', 'Mobile_water_content', 'T2']\n",
    "\n",
    "header_dict['T1'] = ['Depth_from', 'Depth_to', 'K_rel', 'water_content', 'T2*', 'frequency',\n",
    "          'phase', 'T1', 'Bound_water_content', 'Mobile_water_content', 'Total_water_content']\n",
    "\n",
    "# This function parses the text file automatically created by the inversion algorithm\n",
    "\n",
    "\n",
    "def parse_inversion_file(infile, pulse_sequence):\n",
    "    \n",
    "    '''\n",
    "    infile: the filename of the text file\n",
    "    sequence: ['FID', 'CPMG', 'T1']\n",
    "    '''\n",
    "    print(' ')\n",
    "    print(infile)\n",
    "    print(pulse_sequence)\n",
    "    \n",
    "    # Get header based on the sequence\n",
    "    \n",
    "    header = header_dict[pulse_sequence]\n",
    "    \n",
    "    #import data into numpy array\n",
    "    data = np.loadtxt(infile, usecols = np.arange(0,len(header)))\n",
    "    \n",
    "    # Check if final row is just zeros\n",
    "    if data[-1,0] == 0.:\n",
    "        data = data[:-1,:]\n",
    "    \n",
    "    # Create a pandas dataframe\n",
    "    df_inv = pd.DataFrame(data, columns = header)\n",
    "    \n",
    "    # Add a null column of T2* (FID and T1) or T2 (CPMG)\n",
    "    #if 'T2*' not in header:\n",
    "    #    df_inv['T2*'] = np.nan*np.ones(df_inv.shape[0])\n",
    "    #elif 'T2' not in header:\n",
    "    #    df_inv['T2'] = np.nan*np.ones(df_inv.shape[0])\n",
    "    \n",
    "    \n",
    "    return df_inv"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Function to get the index of acquisition entry given site, and  acquisition parameters\n",
    "\n",
    "def get_foreign_keys(df_acquisition, Field_ID, pulse_sequence, pulse_length):\n",
    "    # Define criterion    \n",
    "    criterion1 = df_acquisition['Field_ID'].map(lambda x: x== Field_ID)\n",
    "    criterion2 = df_acquisition['pulse_sequence'].map(lambda x: x== pulse_sequence)\n",
    "    criterion3 = df_acquisition['pulse_length'].map(lambda x: x == pulse_length)\n",
    "\n",
    "    acquisition = df_acquisition[criterion1][criterion2][criterion3]\n",
    "    \n",
    "    return acquisition.site_id, acquisition.index\n",
    "\n",
    "# Function for updating the acquisition metadata dataframe\n",
    "\n",
    "def update_inversion_metadata(inv_id, acqu_ind, doi, \n",
    "                              reg_parameter, cond_profile):\n",
    "    # First we convert the cond profile to a boolean\n",
    "    \n",
    "    if cond_profile == 0:\n",
    "        conductive_earth = False\n",
    "    else:\n",
    "        conductive_earth = True\n",
    "    \n",
    "    d = {'inversion_id': inv_id,\n",
    "         'acquisition_id': acqu_ind, \n",
    "         'DOI': doi,\n",
    "         'conductive_earth': conductive_earth,\n",
    "         'regularisation_parameter': reg_parameter}\n",
    "\n",
    "    # Now add an entry to the df_invmet dataframe\n",
    "\n",
    "    df_temp = df_invmet.append(pd.DataFrame.from_dict([d]),\n",
    "                                ignore_index = True)\n",
    "    return df_temp\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Create a table for inversion metadata\n",
    "\n",
    "df_invmet = pd.DataFrame(columns =  ['inversion_id', 'acquisition_id', 'DOI',\n",
    "                                     'conductive_earth', 'regularisation_parameter'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_15A\\AS_GMR_15A_conductive_earth_FID_60ms\\AS_GMR_15A_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_23\\AS_GMR_23_conductive_earth_FID_60ms\\AS_GMR_23_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20\\AS_GMR_20_conductive_earth_T1_40ms\\AS_GMR_20_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\PCUser\\Anaconda3\\envs\\hydrogeol_utils\\lib\\site-packages\\pandas\\core\\frame.py:7116: FutureWarning: Sorting because non-concatenation axis is not aligned. A future version\n",
      "of pandas will change to not sort by default.\n",
      "\n",
      "To accept the future behavior, pass 'sort=False'.\n",
      "\n",
      "To retain the current behavior and silence the warning, pass 'sort=True'.\n",
      "\n",
      "  sort=sort,\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20\\AS_GMR_20_conductive_earth_FID_60ms\\AS_GMR_20_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_20\\AS_GMR_20_conductive_earth_CPMG_15ms\\AS_GMR_20_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_22\\AS_GMR_22_conductive_earth_FID_60ms\\AS_GMR_22_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_22\\AS_GMR_22_conductive_earth_CPMG_15ms\\AS_GMR_22_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_21\\AS_GMR_21_conductive_earth_FID_60ms\\AS_GMR_21_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_16\\AS_GMR_16_conductive_earth_CPMG_15ms\\AS_GMR_16_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_16\\AS_GMR_16_conductive_earth_FID_60ms\\AS_GMR_16_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_17\\AS_GMR_17_conductive_earth_FID_60ms\\AS_GMR_17_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_14\\AS_GMR_14_conductive_earth_T1_40ms\\AS_GMR_14_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_14\\AS_GMR_14_conductive_earth_FID_60ms\\AS_GMR_14_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_06\\AS_GMR_06_conductive_earth_FID_60ms\\AS_GMR_06_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_05\\AS_GMR_05_conductive_earth_FID_60ms\\AS_GMR_05_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_10\\AS_GMR_10_conductive_earth_FID_60ms\\AS_GMR_10_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_12\\AS_GMR_12_conductive_earth_FID_60ms\\AS_GMR_12_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_12\\AS_GMR_12_conductive_earth_T1_40ms\\AS_GMR_12_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_11\\AS_GMR_11_conductive_earth_FID_60ms\\AS_GMR_11_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_29\\AS_GMR_29_conductive_earth_FID_60ms\\AS_GMR_29_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      "AS_GMR_29\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_31\\AS_GMR_31_conductive_earth_FID_60ms\\AS_GMR_31_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_30\\AS_GMR_30_conductive_earth_FID_60ms\\AS_GMR_30_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_35\\AS_GMR_35_conductive_earth_FID_60ms\\AS_GMR_35_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_08\\AS_GMR_08_conductive_earth_FID_60ms\\AS_GMR_08_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_36\\AS_GMR_36_conductive_earth_FID_60ms\\AS_GMR_36_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_38\\AS_GMR_38_conductive_earth_FID_60ms\\AS_GMR_38_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_39\\AS_GMR_39_conductive_earth_FID_60ms\\AS_GMR_39_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_37\\AS_GMR_37_conductive_earth_FID_60ms\\AS_GMR_37_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_40\\AS_GMR_40_conductive_earth_FID_60ms\\AS_GMR_40_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_26\\AS_GMR_26_conductive_earth_FID_60ms\\AS_GMR_26_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_07\\AS_GMR_07_conductive_earth_FID_60ms\\AS_GMR_07_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_41\\AS_GMR_41_conductive_earth_FID_60ms\\AS_GMR_41_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_09\\AS_GMR_09_conductive_earth_FID_60ms\\AS_GMR_09_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_09\\AS_GMR_09_conductive_earth_CPMG_15ms\\AS_GMR_09_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_42\\AS_GMR_42_conductive_earth_FID_60ms\\AS_GMR_42_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_43\\AS_GMR_43_conductive_earth_FID_60ms\\AS_GMR_43_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_44\\AS_GMR_44_conductive_earth_FID_60ms\\AS_GMR_44_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_45\\AS_GMR_45_conductive_earth_FID_60ms\\AS_GMR_45_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_46\\AS_GMR_46_conductive_earth_FID_60ms\\AS_GMR_46_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\AS_GMR_32\\AS_GMR_32_conductive_earth_FID_60ms\\AS_GMR_32_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_11\\TT_GMR_11_conductive_earth_FID_60ms\\TT_GMR_11_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_08\\TT_GMR_08_conductive_earth_FID_60ms\\TT_GMR_08_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_04\\WD_GMR_04_conductive_earth_T1_40ms\\WD_GMR_04_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_04\\WD_GMR_04_conductive_earth_FID_60ms\\WD_GMR_04_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_05a\\WD_GMR_05a_conductive_earth_FID_60ms\\WD_GMR_05a_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_05a\\WD_GMR_05a_conductive_earth_T1_40ms\\WD_GMR_05a_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_22\\WD_GMR_22_conductive_earth_T1_40ms\\WD_GMR_22_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_22\\WD_GMR_22_conductive_earth_FID_60ms\\WD_GMR_22_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_21\\WD_GMR_21_conductive_earth_T1_40ms\\WD_GMR_21_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_21\\WD_GMR_21_conductive_earth_CPMG_15ms\\WD_GMR_21_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_21\\WD_GMR_21_conductive_earth_FID_60ms\\WD_GMR_21_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_06\\WD_GMR_06_conductive_earth_T1_40ms\\WD_GMR_06_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_06\\WD_GMR_06_conductive_earth_FID_60ms\\WD_GMR_06_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_11\\WD_GMR_11_conductive_earth_T1_40ms\\WD_GMR_11_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_11\\WD_GMR_11_conductive_earth_FID_60ms\\WD_GMR_11_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_08\\WD_GMR_08_conductive_earth_FID_60ms\\WD_GMR_08_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_08\\WD_GMR_08_conductive_earth_T1_40ms\\WD_GMR_08_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_17\\WD_GMR_17_conductive_earth_FID_60ms\\WD_GMR_17_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_17\\WD_GMR_17_conductive_earth_T1_40ms\\WD_GMR_17_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\inversions\\WD_GMR_03\\WD_GMR_03_conductive_earth_T1_40ms\\WD_GMR_03_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\inversions\\WD_GMR_03\\WD_GMR_03_conductive_earth_FID_60ms\\WD_GMR_03_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_33\\WD_GMR_33_conductive_earth_T1_40ms\\WD_GMR_33_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_33\\WD_GMR_33_conductive_earth_FID_60ms\\WD_GMR_33_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_32\\WD_GMR_32_conductive_earth_T1_40ms\\WD_GMR_32_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_32\\WD_GMR_32_conductive_earth_FID_60ms\\WD_GMR_32_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_34\\WD_GMR_34_conductive_earth_FID_60ms\\WD_GMR_34_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_34\\WD_GMR_34_conductive_earth_T1_40ms\\WD_GMR_34_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_29\\WD_GMR_29_conductive_earth_FID_60ms\\WD_GMR_29_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_29\\WD_GMR_29_conductive_earth_CPMG_15ms\\WD_GMR_29_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_29\\WD_GMR_29_conductive_earth_T1_40ms\\WD_GMR_29_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_35\\WD_GMR_35_conductive_earth_FID_60ms\\WD_GMR_35_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_35\\WD_GMR_35_conductive_earth_T1_40ms\\WD_GMR_35_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_18\\WD_GMR_18_conductive_earth_T1_40ms\\WD_GMR_18_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_18\\WD_GMR_18_conductive_earth_FID_60ms\\WD_GMR_18_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_24\\WD_GMR_24_conductive_earth_FID_60ms\\WD_GMR_24_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_24\\WD_GMR_24_conductive_earth_T1_40ms\\WD_GMR_24_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_25\\WD_GMR_25_conductive_earth_FID_60ms\\WD_GMR_25_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_25\\WD_GMR_25_conductive_earth_T1_40ms\\WD_GMR_25_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_36a\\WD_GMR_36a_conductive_earth_CPMG_15ms\\WD_GMR_36a_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_36a\\WD_GMR_36a_conductive_earth_T1_40ms\\WD_GMR_36a_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_36a\\WD_GMR_36a_conductive_earth_FID_60ms\\WD_GMR_36a_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_20\\WD_GMR_20_conductive_earth_FID_60ms\\WD_GMR_20_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_20\\WD_GMR_20_conductive_earth_T1_40ms\\WD_GMR_20_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_37\\WD_GMR_37_conductive_earth_T1_40ms\\WD_GMR_37_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_37\\WD_GMR_37_conductive_earth_FID_60ms\\WD_GMR_37_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_37\\WD_GMR_37_conductive_earth_CPMG_15ms\\WD_GMR_37_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_31\\WD_GMR_31_conductive_earth_FID_60ms\\WD_GMR_31_conductive_earth_FID_60ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_31\\WD_GMR_31_conductive_earth_T1_40ms\\WD_GMR_31_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_25\\TC_GMR_25_conductive_earth_CPMG_15ms\\TC_GMR_25_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_25\\TC_GMR_25_conductive_earth_FID_80ms\\TC_GMR_25_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_29\\TC_GMR_29_conductive_earth_FID_80ms\\TC_GMR_29_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_29\\TC_GMR_29_conductive_earth_CPMG_15ms\\TC_GMR_29_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_30\\TC_GMR_30_conductive_earth_FID_80ms\\TC_GMR_30_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_20\\TC_GMR_20_conductive_earth_CPMG_15ms\\TC_GMR_20_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_20\\TC_GMR_20_conductive_earth_FID_80ms\\TC_GMR_20_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_01\\TC_GMR_01_conductive_earth_FID_80ms\\TC_GMR_01_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_14\\TC_GMR_14_conductive_earth_CPMG_15ms\\TC_GMR_14_conductive_earth_CPMG_15ms_1d_inversion.txt\n",
      "CPMG\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_14\\TC_GMR_14_conductive_earth_FID_80ms\\TC_GMR_14_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_18\\TC_GMR_18_conductive_earth_FID_80ms\\TC_GMR_18_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_04\\TT_GMR_04_conductive_earth_FID_80ms\\TT_GMR_04_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_09\\TT_GMR_09_conductive_earth_T1_40ms\\TT_GMR_09_conductive_earth_T1_40ms_1d_inversion.txt\n",
      "T1\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_09\\TT_GMR_09_conductive_earth_FID_80ms\\TT_GMR_09_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_13\\TT_GMR_13_conductive_earth_FID_80ms\\TT_GMR_13_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_14\\TT_GMR_14_conductive_earth_FID_80ms\\TT_GMR_14_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_05\\TT_GMR_05_conductive_earth_FID_80ms\\TT_GMR_05_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_03\\TT_GMR_03_conductive_earth_FID_80ms\\TT_GMR_03_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_16\\TT_GMR_16_conductive_earth_FID_80ms\\TT_GMR_16_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_15\\TT_GMR_15_conductive_earth_FID_80ms\\TT_GMR_15_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_12\\TT_GMR_12_conductive_earth_FID_80ms\\TT_GMR_12_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_06\\TT_GMR_06_conductive_earth_FID_80ms\\TT_GMR_06_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\TT_GMR_20a\\TT_GMR_20a_conductive_earth_FID_80ms\\TT_GMR_20a_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n",
      " \n",
      "E:\\SSC\\NMR\\SNMR\\Inversions\\WD_GMR_13\\WD_GMR_13_conductive_earth_FID_80ms\\WD_GMR_13_conductive_earth_FID_80ms_1d_inversion.txt\n",
      "FID\n"
     ]
    }
   ],
   "source": [
    "# Create an empty dataframe into which to add data\n",
    "\n",
    "df_inversion = pd.DataFrame(columns = ['inversion_id', 'Depth_from', 'Depth_to', 'K_rel', \n",
    "                                       'water_content', 'T2*','T2', 'frequency', 'phase', 'T1',\n",
    "                                       'Bound_water_content', 'Mobile_water_content', \n",
    "                                       'Total_water_content', 'acquisition_id', 'site_id'])\n",
    "inv_id = 0\n",
    "\n",
    "# Now we import the inversion data\n",
    "\n",
    "for index, row in df_acquisition.iterrows():\n",
    "    \n",
    "    infile = row['inversion_file']\n",
    "    \n",
    "    try:\n",
    "        df_inv = parse_inversion_file(infile, row.pulse_sequence)\n",
    "    \n",
    "        site_ind, acqu_ind = row['site_id'], index\n",
    "    \n",
    "        reg_parameter = row['reg_factor']\n",
    "        cond_profile = row['use_cond_profile']\n",
    "    \n",
    "    \n",
    "        ##TODO fix this\n",
    "        # Extract the depth of investigation from the matlab header\n",
    "        fig = loadmat('\\\\'.join(infile.split('\\\\')[:-1]) + '\\\\resmatrix.fig')\n",
    "    \n",
    "        # Rather ugly hack to extract the depth of investigation from a \n",
    "        # .fig file\n",
    "\n",
    "        doi = fig['hgS_070000'][0][0][3][1][0][3][1][0][2][0][0][7][0][0]\n",
    "    \n",
    "        # Update the inversion metadata dataframe\n",
    "                \n",
    "        df_invmet = update_inversion_metadata(inv_id, acqu_ind,\n",
    "                                          doi, reg_parameter, cond_profile)\n",
    "    \n",
    "\n",
    "        df_inv['acquisition_id'] = int(acqu_ind)\n",
    "        df_inv['site_id'] = int(site_ind)\n",
    "        df_inv['inversion_id'] = inv_id\n",
    "        \n",
    "        df_inversion = df_inversion.append(df_inv)\n",
    "        inv_id += 1\n",
    "        \n",
    "    except OSError:\n",
    "        \n",
    "        print(row.Field_ID)\n",
    "\n",
    "# Reset the inversion index so t can be used as a primary key\n",
    "df_inversion.reset_index(inplace=True)\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [],
   "source": [
    "df_invmet.set_index('inversion_id', inplace = True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "ename": "RasterioIOError",
     "evalue": "\\\\prod.lan\\active\\proj\\futurex\\East_Kimberley\\Working\\SharedWorkspace\\LiDAR\\LiDAR_final\\EK_LiDAR_cubic_10x10.tif: No such file or directory",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mCPLE_OpenFailedError\u001b[0m                      Traceback (most recent call last)",
      "\u001b[1;32mrasterio\\_base.pyx\u001b[0m in \u001b[0;36mrasterio._base.DatasetBase.__init__\u001b[1;34m()\u001b[0m\n",
      "\u001b[1;32mrasterio\\_shim.pyx\u001b[0m in \u001b[0;36mrasterio._shim.open_dataset\u001b[1;34m()\u001b[0m\n",
      "\u001b[1;32mrasterio\\_err.pyx\u001b[0m in \u001b[0;36mrasterio._err.exc_wrap_pointer\u001b[1;34m()\u001b[0m\n",
      "\u001b[1;31mCPLE_OpenFailedError\u001b[0m: \\\\prod.lan\\active\\proj\\futurex\\East_Kimberley\\Working\\SharedWorkspace\\LiDAR\\LiDAR_final\\EK_LiDAR_cubic_10x10.tif: No such file or directory",
      "\nDuring handling of the above exception, another exception occurred:\n",
      "\u001b[1;31mRasterioIOError\u001b[0m                           Traceback (most recent call last)",
      "\u001b[1;32m<ipython-input-26-23d46dbdad40>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[0;32m      7\u001b[0m \u001b[1;31m# Open\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      8\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 9\u001b[1;33m \u001b[0mlid_src\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mrasterio\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mopen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mlid_10m\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m     10\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m     11\u001b[0m \u001b[0msrtm_src\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mrasterio\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mopen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0msrtm\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32m~\\Anaconda3\\envs\\hydrogeol_utils\\lib\\site-packages\\rasterio\\env.py\u001b[0m in \u001b[0;36mwrapper\u001b[1;34m(*args, **kwds)\u001b[0m\n\u001b[0;32m    421\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    422\u001b[0m         \u001b[1;32mwith\u001b[0m \u001b[0menv_ctor\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0msession\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0msession\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 423\u001b[1;33m             \u001b[1;32mreturn\u001b[0m \u001b[0mf\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m*\u001b[0m\u001b[0margs\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m**\u001b[0m\u001b[0mkwds\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m    424\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    425\u001b[0m     \u001b[1;32mreturn\u001b[0m \u001b[0mwrapper\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32m~\\Anaconda3\\envs\\hydrogeol_utils\\lib\\site-packages\\rasterio\\__init__.py\u001b[0m in \u001b[0;36mopen\u001b[1;34m(fp, mode, driver, width, height, count, crs, transform, dtype, nodata, sharing, **kwargs)\u001b[0m\n\u001b[0;32m    214\u001b[0m         \u001b[1;31m# None.\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    215\u001b[0m         \u001b[1;32mif\u001b[0m \u001b[0mmode\u001b[0m \u001b[1;33m==\u001b[0m \u001b[1;34m'r'\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 216\u001b[1;33m             \u001b[0ms\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mDatasetReader\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mpath\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mdriver\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mdriver\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m    217\u001b[0m         \u001b[1;32melif\u001b[0m \u001b[0mmode\u001b[0m \u001b[1;33m==\u001b[0m \u001b[1;34m'r+'\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    218\u001b[0m             \u001b[0ms\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mget_writer_for_path\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mpath\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mpath\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mmode\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mdriver\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mdriver\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32mrasterio\\_base.pyx\u001b[0m in \u001b[0;36mrasterio._base.DatasetBase.__init__\u001b[1;34m()\u001b[0m\n",
      "\u001b[1;31mRasterioIOError\u001b[0m: \\\\prod.lan\\active\\proj\\futurex\\East_Kimberley\\Working\\SharedWorkspace\\LiDAR\\LiDAR_final\\EK_LiDAR_cubic_10x10.tif: No such file or directory"
     ]
    }
   ],
   "source": [
    "# NOw we want to find the elevation for each site which we will do by sampling the rasters\n",
    "\n",
    "lid_10m = r\"\\\\prod.lan\\active\\proj\\futurex\\East_Kimberley\\Working\\SharedWorkspace\\LiDAR\\LiDAR_final\\EK_LiDAR_cubic_10x10.tif\"\n",
    "\n",
    "srtm = r\"\\\\prod.lan\\active\\proj\\futurex\\East_Kimberley\\Data\\Processed\\ElevationDepth\\Elevation\\DEM_1sec\\demh1sv1ek_z52.tif\"\n",
    "\n",
    "# Open\n",
    "\n",
    "lid_src = rasterio.open(lid_10m)\n",
    "\n",
    "srtm_src = rasterio.open(srtm)\n",
    "\n",
    "lid_bounds = lid_src.bounds\n",
    "\n",
    "srtm_bounds = srtm_src.bounds\n",
    "\n",
    "\n",
    "df['elevation_mAHD'] =np.nan\n",
    "\n",
    "# Iterate through the sites and add the raster value to the dataframe\n",
    "# if it is within the extent of the raster\n",
    "for index, row in df.iterrows():\n",
    "    # get the coords\n",
    "    x, y = row.mid_X, row.mid_Y\n",
    "    # Check lidar\n",
    "    if spatial_functions.point_within_bounds(x,y, lid_bounds):\n",
    "        \n",
    "        elev = next(lid_src.sample(np.array([[x,y]])))[0]\n",
    "        \n",
    "        df.at[index, 'elevation_mAHD'] = elev\n",
    "    # Check srtm\n",
    "    elif spatial_functions.point_within_bounds(x,y, srtm_bounds):\n",
    "        \n",
    "        elev = next(srtm_src.sample(np.array([[x,y]])))[0]\n",
    "        \n",
    "        # TO protect against nulls we will make all < -10 mAHD values nan\n",
    "        if elev > -10:\n",
    "\n",
    "            df.at[index, 'elevation_mAHD'] = elev\n",
    "    # Otherwise print for further investigation\n",
    "    else:\n",
    "        print(row)\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "metadata": {},
   "outputs": [],
   "source": [
    "df['elevation_mAHD'] = df['elevation_(mAHD)']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Field_ID</th>\n",
       "      <th>Site_Code</th>\n",
       "      <th>elevation_(mAHD)</th>\n",
       "      <th>mid_X</th>\n",
       "      <th>mid_Y</th>\n",
       "      <th>declination_angle</th>\n",
       "      <th>inclination_angle</th>\n",
       "      <th>date</th>\n",
       "      <th>loop_width</th>\n",
       "      <th>coil_type</th>\n",
       "      <th>geometry</th>\n",
       "      <th>elevation_mAHD</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>AS_GMR_15A</td>\n",
       "      <td>SSCSNMR18032001</td>\n",
       "      <td>508.541321</td>\n",
       "      <td>402460.3760</td>\n",
       "      <td>7360850.562</td>\n",
       "      <td>4.680</td>\n",
       "      <td>-55.524</td>\n",
       "      <td>2018-03-20</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((402519.680147 7360900.89077, 402510....</td>\n",
       "      <td>508.541321</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>AS_GMR_23</td>\n",
       "      <td>SSCSNMR18032101</td>\n",
       "      <td>436.932221</td>\n",
       "      <td>440686.9021</td>\n",
       "      <td>7368656.659</td>\n",
       "      <td>4.780</td>\n",
       "      <td>-55.413</td>\n",
       "      <td>2018-03-21</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((440746.293937 7368706.88446, 440737....</td>\n",
       "      <td>436.932221</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>AS_GMR_20</td>\n",
       "      <td>SSCSNMR18032201</td>\n",
       "      <td>489.896881</td>\n",
       "      <td>421235.9865</td>\n",
       "      <td>7364864.674</td>\n",
       "      <td>4.728</td>\n",
       "      <td>-55.468</td>\n",
       "      <td>2018-03-22</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((421295.332728 7364914.95302, 421286....</td>\n",
       "      <td>489.896881</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>AS_GMR_22</td>\n",
       "      <td>SSCSNMR18032202</td>\n",
       "      <td>458.919800</td>\n",
       "      <td>429375.4174</td>\n",
       "      <td>7366308.744</td>\n",
       "      <td>4.750</td>\n",
       "      <td>-55.448</td>\n",
       "      <td>2018-03-22</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((429434.782927 7366359.00042, 429425....</td>\n",
       "      <td>458.919800</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>AS_GMR_21</td>\n",
       "      <td>SSCSNMR18032301</td>\n",
       "      <td>469.040283</td>\n",
       "      <td>423033.3493</td>\n",
       "      <td>7368303.693</td>\n",
       "      <td>4.729</td>\n",
       "      <td>-55.429</td>\n",
       "      <td>2018-03-23</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((423092.696423 7368353.97112, 423083....</td>\n",
       "      <td>469.040283</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>AS_GMR_16</td>\n",
       "      <td>SSCSNMR18032401</td>\n",
       "      <td>507.333221</td>\n",
       "      <td>403050.4476</td>\n",
       "      <td>7363119.763</td>\n",
       "      <td>4.678</td>\n",
       "      <td>-55.498</td>\n",
       "      <td>2018-03-24</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((403109.749908 7363170.09466, 403100....</td>\n",
       "      <td>507.333221</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>AS_GMR_17</td>\n",
       "      <td>SSCSNMR18032402</td>\n",
       "      <td>505.567627</td>\n",
       "      <td>404636.0204</td>\n",
       "      <td>7356992.742</td>\n",
       "      <td>4.690</td>\n",
       "      <td>-55.564</td>\n",
       "      <td>2018-03-24</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((404695.333258 7357043.06062, 404686....</td>\n",
       "      <td>505.567627</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>AS_GMR_14</td>\n",
       "      <td>SSCSNMR18032502</td>\n",
       "      <td>509.229584</td>\n",
       "      <td>401598.8897</td>\n",
       "      <td>7359584.577</td>\n",
       "      <td>4.678</td>\n",
       "      <td>-55.539</td>\n",
       "      <td>2018-03-25</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((401658.192059 7359634.90807, 401649....</td>\n",
       "      <td>509.229584</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>AS_GMR_06</td>\n",
       "      <td>SSCSNMR18032501</td>\n",
       "      <td>535.069092</td>\n",
       "      <td>386690.6775</td>\n",
       "      <td>7360407.278</td>\n",
       "      <td>4.635</td>\n",
       "      <td>-55.538</td>\n",
       "      <td>2018-03-25</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((386749.942096 7360457.65329, 386741....</td>\n",
       "      <td>535.069092</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>AS_GMR_05</td>\n",
       "      <td>SSCSNMR18032601</td>\n",
       "      <td>537.965637</td>\n",
       "      <td>385129.6884</td>\n",
       "      <td>7360460.473</td>\n",
       "      <td>4.630</td>\n",
       "      <td>-55.538</td>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((385188.948524 7360510.85435, 385180....</td>\n",
       "      <td>537.965637</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>AS_GMR_10</td>\n",
       "      <td>SSCSNMR18032602</td>\n",
       "      <td>525.230225</td>\n",
       "      <td>394563.0599</td>\n",
       "      <td>7355220.748</td>\n",
       "      <td>4.663</td>\n",
       "      <td>-55.591</td>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((394622.349062 7355271.0943, 394613.4...</td>\n",
       "      <td>525.230225</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>AS_GMR_12</td>\n",
       "      <td>SSCSNMR18032603</td>\n",
       "      <td>521.790466</td>\n",
       "      <td>396645.0914</td>\n",
       "      <td>7357785.742</td>\n",
       "      <td>4.666</td>\n",
       "      <td>-55.562</td>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396704.383196 7357836.08556, 396695....</td>\n",
       "      <td>521.790466</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>AS_GMR_11</td>\n",
       "      <td>SSCSNMR18032701</td>\n",
       "      <td>520.568176</td>\n",
       "      <td>396120.4824</td>\n",
       "      <td>7356358.207</td>\n",
       "      <td>4.666</td>\n",
       "      <td>-55.577</td>\n",
       "      <td>2018-03-27</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396179.774244 7356408.55101, 396170....</td>\n",
       "      <td>520.568176</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>AS_GMR_29</td>\n",
       "      <td>SSCSNMR18040403</td>\n",
       "      <td>519.205322</td>\n",
       "      <td>397435.9890</td>\n",
       "      <td>7362682.297</td>\n",
       "      <td>4.662</td>\n",
       "      <td>-55.507</td>\n",
       "      <td>2018-04-04</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397495.277293 7362732.64504, 397486....</td>\n",
       "      <td>519.205322</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>AS_GMR_31</td>\n",
       "      <td>SSCSNMR18040401</td>\n",
       "      <td>522.754456</td>\n",
       "      <td>397573.7311</td>\n",
       "      <td>7365587.732</td>\n",
       "      <td>4.659</td>\n",
       "      <td>-55.474</td>\n",
       "      <td>2018-04-04</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397633.016805 7365638.0826, 397624.0...</td>\n",
       "      <td>522.754456</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>AS_GMR_30</td>\n",
       "      <td>SSCSNMR18040402</td>\n",
       "      <td>518.918579</td>\n",
       "      <td>397728.4072</td>\n",
       "      <td>7364610.487</td>\n",
       "      <td>4.660</td>\n",
       "      <td>-55.486</td>\n",
       "      <td>2018-04-04</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397772.642145 7364674.46592, 397792....</td>\n",
       "      <td>518.918579</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>AS_GMR_35</td>\n",
       "      <td>SSCSNMR18040503</td>\n",
       "      <td>514.030640</td>\n",
       "      <td>397843.0405</td>\n",
       "      <td>7357843.008</td>\n",
       "      <td>4.668</td>\n",
       "      <td>-55.560</td>\n",
       "      <td>2018-04-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397902.334099 7357893.34919, 397893....</td>\n",
       "      <td>514.030640</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>AS_GMR_08</td>\n",
       "      <td>SSCSNMR18040502</td>\n",
       "      <td>525.491455</td>\n",
       "      <td>391700.5106</td>\n",
       "      <td>7358847.919</td>\n",
       "      <td>4.649</td>\n",
       "      <td>-55.551</td>\n",
       "      <td>2018-04-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((391759.787495 7358898.28034, 391750....</td>\n",
       "      <td>525.491455</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>AS_GMR_36</td>\n",
       "      <td>SSCSNMR18040501</td>\n",
       "      <td>521.629700</td>\n",
       "      <td>394408.9074</td>\n",
       "      <td>7357221.633</td>\n",
       "      <td>4.659</td>\n",
       "      <td>-55.569</td>\n",
       "      <td>2018-04-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((394468.193077 7357271.9836, 394459.2...</td>\n",
       "      <td>521.629700</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>AS_GMR_38</td>\n",
       "      <td>SSCSNMR18040601</td>\n",
       "      <td>522.063354</td>\n",
       "      <td>393993.2154</td>\n",
       "      <td>7358644.791</td>\n",
       "      <td>4.656</td>\n",
       "      <td>-55.553</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((394052.498464 7358695.14484, 394043....</td>\n",
       "      <td>522.063354</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>AS_GMR_39</td>\n",
       "      <td>SSCSNMR18040602</td>\n",
       "      <td>518.929626</td>\n",
       "      <td>396455.0092</td>\n",
       "      <td>7358845.277</td>\n",
       "      <td>4.663</td>\n",
       "      <td>-55.550</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396461.332412 7358922.80114, 396532....</td>\n",
       "      <td>518.929626</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>AS_GMR_37</td>\n",
       "      <td>SSCSNMR18040603</td>\n",
       "      <td>533.554016</td>\n",
       "      <td>388299.0296</td>\n",
       "      <td>7361394.482</td>\n",
       "      <td>4.637</td>\n",
       "      <td>-55.527</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((388325.168893 7361467.74027, 388372....</td>\n",
       "      <td>533.554016</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>AS_GMR_40</td>\n",
       "      <td>SSCSNMR18040604</td>\n",
       "      <td>519.203491</td>\n",
       "      <td>396010.6242</td>\n",
       "      <td>7360270.428</td>\n",
       "      <td>4.660</td>\n",
       "      <td>-55.533</td>\n",
       "      <td>2018-04-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396069.91075 7360320.77805, 396060.9...</td>\n",
       "      <td>519.203491</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>AS_GMR_26</td>\n",
       "      <td>SSCSNMR18040703</td>\n",
       "      <td>529.692322</td>\n",
       "      <td>390924.3649</td>\n",
       "      <td>7362787.419</td>\n",
       "      <td>4.643</td>\n",
       "      <td>-55.509</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((390983.636536 7362837.78604, 390974....</td>\n",
       "      <td>529.692322</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>AS_GMR_07</td>\n",
       "      <td>SSCSNMR18040704</td>\n",
       "      <td>542.890808</td>\n",
       "      <td>383653.7086</td>\n",
       "      <td>7363414.818</td>\n",
       "      <td>4.621</td>\n",
       "      <td>-55.507</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((383731.237503 7363408.55145, 383647....</td>\n",
       "      <td>542.890808</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>AS_GMR_41</td>\n",
       "      <td>SSCSNMR18040701</td>\n",
       "      <td>527.671570</td>\n",
       "      <td>391221.5061</td>\n",
       "      <td>7361145.537</td>\n",
       "      <td>4.645</td>\n",
       "      <td>-55.527</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((391280.779424 7361195.90201, 391271....</td>\n",
       "      <td>527.671570</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>AS_GMR_02</td>\n",
       "      <td>SSCSNMR18040702</td>\n",
       "      <td>546.977905</td>\n",
       "      <td>380595.1071</td>\n",
       "      <td>7361869.734</td>\n",
       "      <td>4.614</td>\n",
       "      <td>-55.525</td>\n",
       "      <td>2018-04-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((380621.217026 7361943.00279, 380668....</td>\n",
       "      <td>546.977905</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>AS_GMR_09</td>\n",
       "      <td>SSCSNMR18040801</td>\n",
       "      <td>538.788757</td>\n",
       "      <td>393272.9722</td>\n",
       "      <td>7352590.995</td>\n",
       "      <td>4.660</td>\n",
       "      <td>-55.619</td>\n",
       "      <td>2018-04-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((393350.496863 7352584.67536, 393266....</td>\n",
       "      <td>538.788757</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>AS_GMR_42</td>\n",
       "      <td>SSCSNMR18040802</td>\n",
       "      <td>518.647766</td>\n",
       "      <td>396901.4409</td>\n",
       "      <td>7361079.573</td>\n",
       "      <td>4.661</td>\n",
       "      <td>-55.525</td>\n",
       "      <td>2018-04-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((396968.570551 7361118.86173, 396940....</td>\n",
       "      <td>518.647766</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>AS_GMR_43</td>\n",
       "      <td>SSCSNMR18040803</td>\n",
       "      <td>512.320007</td>\n",
       "      <td>397140.3486</td>\n",
       "      <td>7356503.766</td>\n",
       "      <td>4.667</td>\n",
       "      <td>-55.573</td>\n",
       "      <td>2018-04-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((397199.641336 7356554.10888, 397190....</td>\n",
       "      <td>512.320007</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>WD_GMR_32</td>\n",
       "      <td>SSCSNMR18050301</td>\n",
       "      <td>381.487274</td>\n",
       "      <td>397963.2731</td>\n",
       "      <td>7686074.162</td>\n",
       "      <td>4.302</td>\n",
       "      <td>-51.831</td>\n",
       "      <td>2018-05-03</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((398018.370911 7686129.0642, 398018.1...</td>\n",
       "      <td>381.487274</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>WD_GMR_34</td>\n",
       "      <td>SSCSNMR18050501</td>\n",
       "      <td>401.434265</td>\n",
       "      <td>405694.0955</td>\n",
       "      <td>7671812.411</td>\n",
       "      <td>4.338</td>\n",
       "      <td>-51.997</td>\n",
       "      <td>2018-05-05</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((405749.13195 7671867.37473, 405749.0...</td>\n",
       "      <td>401.434265</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>WD_GMR_29</td>\n",
       "      <td>SSCSNMR18050601</td>\n",
       "      <td>365.610931</td>\n",
       "      <td>427574.2116</td>\n",
       "      <td>7692080.211</td>\n",
       "      <td>4.371</td>\n",
       "      <td>-51.745</td>\n",
       "      <td>2018-05-06</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((427641.141573 7692119.83898, 427613....</td>\n",
       "      <td>365.610931</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>WD_GMR_35</td>\n",
       "      <td>SSCSNMR18050701</td>\n",
       "      <td>406.008514</td>\n",
       "      <td>423281.0722</td>\n",
       "      <td>7658316.777</td>\n",
       "      <td>4.398</td>\n",
       "      <td>-52.146</td>\n",
       "      <td>2018-05-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((423336.166227 7658371.68277, 423335....</td>\n",
       "      <td>406.008514</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>WD_GMR_18</td>\n",
       "      <td>SSCSNMR18050702</td>\n",
       "      <td>397.137421</td>\n",
       "      <td>429449.7088</td>\n",
       "      <td>7660512.632</td>\n",
       "      <td>4.412</td>\n",
       "      <td>-52.116</td>\n",
       "      <td>2018-05-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((429504.816235 7660567.52398, 429504....</td>\n",
       "      <td>397.137421</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>WD_GMR_24</td>\n",
       "      <td>SSCSNMR18050801</td>\n",
       "      <td>391.673462</td>\n",
       "      <td>456100.1295</td>\n",
       "      <td>7680249.626</td>\n",
       "      <td>4.458</td>\n",
       "      <td>-51.868</td>\n",
       "      <td>2018-05-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((456155.280962 7680304.4743, 456154.9...</td>\n",
       "      <td>391.673462</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52</th>\n",
       "      <td>WD_GMR_25</td>\n",
       "      <td>SSCSNMR18050802</td>\n",
       "      <td>394.434235</td>\n",
       "      <td>456984.6333</td>\n",
       "      <td>7675494.494</td>\n",
       "      <td>4.466</td>\n",
       "      <td>-51.923</td>\n",
       "      <td>2018-05-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((457039.696648 7675549.43086, 457039....</td>\n",
       "      <td>394.434235</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53</th>\n",
       "      <td>WD_GMR_36a</td>\n",
       "      <td>SSCSNMR18050901</td>\n",
       "      <td>392.131622</td>\n",
       "      <td>468263.5920</td>\n",
       "      <td>7648846.529</td>\n",
       "      <td>4.526</td>\n",
       "      <td>-52.228</td>\n",
       "      <td>2018-05-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((468318.71279 7648901.40785, 468318.4...</td>\n",
       "      <td>392.131622</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>54</th>\n",
       "      <td>WD_GMR_20</td>\n",
       "      <td>SSCSNMR18050902</td>\n",
       "      <td>395.238586</td>\n",
       "      <td>458727.4202</td>\n",
       "      <td>7668938.205</td>\n",
       "      <td>4.478</td>\n",
       "      <td>-51.998</td>\n",
       "      <td>2018-05-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((458782.590772 7668993.03392, 458782....</td>\n",
       "      <td>395.238586</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>55</th>\n",
       "      <td>WD_GMR_37</td>\n",
       "      <td>SSCSNMR18051002</td>\n",
       "      <td>364.628113</td>\n",
       "      <td>424634.2215</td>\n",
       "      <td>7698005.177</td>\n",
       "      <td>4.356</td>\n",
       "      <td>-51.676</td>\n",
       "      <td>2018-05-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((424693.240096 7698055.84095, 424684....</td>\n",
       "      <td>364.628113</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>56</th>\n",
       "      <td>WD_GMR_31</td>\n",
       "      <td>SSCSNMR18051001</td>\n",
       "      <td>370.283356</td>\n",
       "      <td>434697.8195</td>\n",
       "      <td>7697203.578</td>\n",
       "      <td>4.383</td>\n",
       "      <td>-51.680</td>\n",
       "      <td>2018-05-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((434747.172096 7697263.69758, 434757....</td>\n",
       "      <td>370.283356</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57</th>\n",
       "      <td>TC_GMR_25</td>\n",
       "      <td>SSCSNMR18093001</td>\n",
       "      <td>321.323212</td>\n",
       "      <td>407819.4942</td>\n",
       "      <td>7806828.560</td>\n",
       "      <td>4.172</td>\n",
       "      <td>-50.368</td>\n",
       "      <td>2018-09-30</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((407831.892555 7806905.34751, 407896....</td>\n",
       "      <td>321.323212</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>58</th>\n",
       "      <td>TC_GMR_29</td>\n",
       "      <td>SSCSNMR18093002</td>\n",
       "      <td>314.635956</td>\n",
       "      <td>402323.8554</td>\n",
       "      <td>7812089.585</td>\n",
       "      <td>4.152</td>\n",
       "      <td>-50.306</td>\n",
       "      <td>2018-09-30</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((402382.693226 7812140.45827, 402374....</td>\n",
       "      <td>314.635956</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59</th>\n",
       "      <td>TC_GMR_30</td>\n",
       "      <td>SSCSNMR18093003</td>\n",
       "      <td>333.439636</td>\n",
       "      <td>413310.8461</td>\n",
       "      <td>7801658.554</td>\n",
       "      <td>4.191</td>\n",
       "      <td>-50.428</td>\n",
       "      <td>2018-09-30</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((413369.718551 7801709.38733, 413361....</td>\n",
       "      <td>333.439636</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60</th>\n",
       "      <td>TC_GMR_20</td>\n",
       "      <td>SSCSNMR18100101</td>\n",
       "      <td>296.871094</td>\n",
       "      <td>386238.4956</td>\n",
       "      <td>7816719.298</td>\n",
       "      <td>4.107</td>\n",
       "      <td>-50.257</td>\n",
       "      <td>2018-10-01</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((386297.293463 7816770.21753, 386289....</td>\n",
       "      <td>296.871094</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>61</th>\n",
       "      <td>TC_GMR_01</td>\n",
       "      <td>SSCSNMR18100102</td>\n",
       "      <td>298.433380</td>\n",
       "      <td>387493.6055</td>\n",
       "      <td>7814892.545</td>\n",
       "      <td>4.112</td>\n",
       "      <td>-50.279</td>\n",
       "      <td>2018-10-01</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((387552.407729 7814943.45967, 387544....</td>\n",
       "      <td>298.433380</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62</th>\n",
       "      <td>TC_GMR_14</td>\n",
       "      <td>SSCSNMR18100201</td>\n",
       "      <td>280.380402</td>\n",
       "      <td>372041.8150</td>\n",
       "      <td>7818987.175</td>\n",
       "      <td>4.069</td>\n",
       "      <td>-50.236</td>\n",
       "      <td>2018-10-02</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((372100.57899 7819038.13408, 372092.7...</td>\n",
       "      <td>280.380402</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63</th>\n",
       "      <td>TC_GMR_18</td>\n",
       "      <td>SSCSNMR18100202</td>\n",
       "      <td>290.686523</td>\n",
       "      <td>381027.6859</td>\n",
       "      <td>7818890.070</td>\n",
       "      <td>4.091</td>\n",
       "      <td>-50.231</td>\n",
       "      <td>2018-10-02</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((381086.469551 7818941.00569, 381078....</td>\n",
       "      <td>290.686523</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>64</th>\n",
       "      <td>TT_GMR_04</td>\n",
       "      <td>SSCSNMR18100701</td>\n",
       "      <td>624.481628</td>\n",
       "      <td>321867.7899</td>\n",
       "      <td>7515214.681</td>\n",
       "      <td>4.264</td>\n",
       "      <td>-53.842</td>\n",
       "      <td>2018-10-07</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((321926.727048 7515265.43948, 321918....</td>\n",
       "      <td>624.481628</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>65</th>\n",
       "      <td>TT_GMR_09</td>\n",
       "      <td>SSCSNMR18100801</td>\n",
       "      <td>578.580200</td>\n",
       "      <td>349392.0973</td>\n",
       "      <td>7519962.008</td>\n",
       "      <td>4.332</td>\n",
       "      <td>-53.773</td>\n",
       "      <td>2018-10-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((349451.094674 7520012.69612, 349442....</td>\n",
       "      <td>578.580200</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>66</th>\n",
       "      <td>TT_GMR_13</td>\n",
       "      <td>SSCSNMR18100802</td>\n",
       "      <td>574.765625</td>\n",
       "      <td>355877.9852</td>\n",
       "      <td>7511898.793</td>\n",
       "      <td>4.358</td>\n",
       "      <td>-53.863</td>\n",
       "      <td>2018-10-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((355937.005565 7511949.45468, 355928....</td>\n",
       "      <td>574.765625</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>67</th>\n",
       "      <td>TT_GMR_14</td>\n",
       "      <td>SSCSNMR18100803</td>\n",
       "      <td>586.058838</td>\n",
       "      <td>369170.4482</td>\n",
       "      <td>7504233.774</td>\n",
       "      <td>4.402</td>\n",
       "      <td>-53.942</td>\n",
       "      <td>2018-10-08</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((369229.507366 7504284.38983, 369221....</td>\n",
       "      <td>586.058838</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>68</th>\n",
       "      <td>TT_GMR_05</td>\n",
       "      <td>SSCSNMR18100901</td>\n",
       "      <td>608.171326</td>\n",
       "      <td>327504.1999</td>\n",
       "      <td>7522354.477</td>\n",
       "      <td>4.271</td>\n",
       "      <td>-53.757</td>\n",
       "      <td>2018-10-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((327563.143201 7522405.22853, 327554....</td>\n",
       "      <td>608.171326</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>69</th>\n",
       "      <td>TT_GMR_03</td>\n",
       "      <td>SSCSNMR18100902</td>\n",
       "      <td>609.428467</td>\n",
       "      <td>315051.5407</td>\n",
       "      <td>7530376.453</td>\n",
       "      <td>4.230</td>\n",
       "      <td>-53.672</td>\n",
       "      <td>2018-10-09</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((315110.447685 7530427.24665, 315102....</td>\n",
       "      <td>609.428467</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>70</th>\n",
       "      <td>TT_GMR_16</td>\n",
       "      <td>SSCSNMR18101002</td>\n",
       "      <td>625.755127</td>\n",
       "      <td>374902.7009</td>\n",
       "      <td>7480976.078</td>\n",
       "      <td>4.442</td>\n",
       "      <td>-54.201</td>\n",
       "      <td>2018-10-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((374961.795423 7481026.65272, 374953....</td>\n",
       "      <td>625.755127</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>71</th>\n",
       "      <td>TT_GMR_15</td>\n",
       "      <td>SSCSNMR18101001</td>\n",
       "      <td>600.468689</td>\n",
       "      <td>372440.5256</td>\n",
       "      <td>7493864.659</td>\n",
       "      <td>4.422</td>\n",
       "      <td>-54.058</td>\n",
       "      <td>2018-10-10</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((372499.602447 7493915.25475, 372491....</td>\n",
       "      <td>600.468689</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>72</th>\n",
       "      <td>TT_GMR_12</td>\n",
       "      <td>SSCSNMR18101202</td>\n",
       "      <td>557.927002</td>\n",
       "      <td>359844.8114</td>\n",
       "      <td>7525739.883</td>\n",
       "      <td>4.353</td>\n",
       "      <td>-53.702</td>\n",
       "      <td>2018-10-12</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((359903.827349 7525790.54996, 359895....</td>\n",
       "      <td>557.927002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>73</th>\n",
       "      <td>TT_GMR_06</td>\n",
       "      <td>SSCSNMR18101203</td>\n",
       "      <td>586.822388</td>\n",
       "      <td>340950.1837</td>\n",
       "      <td>7527435.463</td>\n",
       "      <td>4.301</td>\n",
       "      <td>-53.693</td>\n",
       "      <td>2018-10-12</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((341009.153633 7527486.18381, 341000....</td>\n",
       "      <td>586.822388</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>74</th>\n",
       "      <td>TT_GMR_20a</td>\n",
       "      <td>SSCSNMR18101201</td>\n",
       "      <td>563.334290</td>\n",
       "      <td>371664.9428</td>\n",
       "      <td>7518768.508</td>\n",
       "      <td>4.392</td>\n",
       "      <td>-53.776</td>\n",
       "      <td>2018-10-12</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((371723.993154 7518819.13462, 371715....</td>\n",
       "      <td>563.334290</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75</th>\n",
       "      <td>WD_GMR_13</td>\n",
       "      <td>SSCSNMR18101401</td>\n",
       "      <td>354.544952</td>\n",
       "      <td>381765.0085</td>\n",
       "      <td>7707451.003</td>\n",
       "      <td>4.212</td>\n",
       "      <td>-51.577</td>\n",
       "      <td>2018-10-14</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>POLYGON ((381823.899552 7707501.81452, 381815....</td>\n",
       "      <td>354.544952</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>76 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Field_ID        Site_Code  elevation_(mAHD)        mid_X        mid_Y  \\\n",
       "0   AS_GMR_15A  SSCSNMR18032001        508.541321  402460.3760  7360850.562   \n",
       "1    AS_GMR_23  SSCSNMR18032101        436.932221  440686.9021  7368656.659   \n",
       "2    AS_GMR_20  SSCSNMR18032201        489.896881  421235.9865  7364864.674   \n",
       "3    AS_GMR_22  SSCSNMR18032202        458.919800  429375.4174  7366308.744   \n",
       "4    AS_GMR_21  SSCSNMR18032301        469.040283  423033.3493  7368303.693   \n",
       "..         ...              ...               ...          ...          ...   \n",
       "71   TT_GMR_15  SSCSNMR18101001        600.468689  372440.5256  7493864.659   \n",
       "72   TT_GMR_12  SSCSNMR18101202        557.927002  359844.8114  7525739.883   \n",
       "73   TT_GMR_06  SSCSNMR18101203        586.822388  340950.1837  7527435.463   \n",
       "74  TT_GMR_20a  SSCSNMR18101201        563.334290  371664.9428  7518768.508   \n",
       "75   WD_GMR_13  SSCSNMR18101401        354.544952  381765.0085  7707451.003   \n",
       "\n",
       "    declination_angle  inclination_angle       date  loop_width  coil_type  \\\n",
       "0               4.680            -55.524 2018-03-20         110          1   \n",
       "1               4.780            -55.413 2018-03-21         110          1   \n",
       "2               4.728            -55.468 2018-03-22         110          1   \n",
       "3               4.750            -55.448 2018-03-22         110          1   \n",
       "4               4.729            -55.429 2018-03-23         110          1   \n",
       "..                ...                ...        ...         ...        ...   \n",
       "71              4.422            -54.058 2018-10-10         110          1   \n",
       "72              4.353            -53.702 2018-10-12         110          1   \n",
       "73              4.301            -53.693 2018-10-12         110          1   \n",
       "74              4.392            -53.776 2018-10-12         110          1   \n",
       "75              4.212            -51.577 2018-10-14         110          1   \n",
       "\n",
       "                                             geometry  elevation_mAHD  \n",
       "0   POLYGON ((402519.680147 7360900.89077, 402510....      508.541321  \n",
       "1   POLYGON ((440746.293937 7368706.88446, 440737....      436.932221  \n",
       "2   POLYGON ((421295.332728 7364914.95302, 421286....      489.896881  \n",
       "3   POLYGON ((429434.782927 7366359.00042, 429425....      458.919800  \n",
       "4   POLYGON ((423092.696423 7368353.97112, 423083....      469.040283  \n",
       "..                                                ...             ...  \n",
       "71  POLYGON ((372499.602447 7493915.25475, 372491....      600.468689  \n",
       "72  POLYGON ((359903.827349 7525790.54996, 359895....      557.927002  \n",
       "73  POLYGON ((341009.153633 7527486.18381, 341000....      586.822388  \n",
       "74  POLYGON ((371723.993154 7518819.13462, 371715....      563.334290  \n",
       "75  POLYGON ((381823.899552 7707501.81452, 381815....      354.544952  \n",
       "\n",
       "[76 rows x 12 columns]"
      ]
     },
     "execution_count": 41,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Now we try to get the dataframes into the database classes\n",
    "\n",
    "all_sites = []\n",
    "\n",
    "for index, row in df.iterrows():\n",
    "    site = Sites(site_id = index,\n",
    "                 field_id = row[\"Field_ID\"], \n",
    "                site_code = row[\"Site_Code\"], \n",
    "                mid_x = row[\"mid_X\"], mid_y = row[\"mid_Y\"],\n",
    "                declination = row[\"declination_angle\"],\n",
    "                inclination = row[\"inclination_angle\"],\n",
    "                date = pd.to_datetime(row['date'], format = '%d/%m/%Y').date(),\n",
    "                loop_width = row[\"loop_width\"],\n",
    "                coil_type = row[\"coil_type\"],\n",
    "                 geometry = row['geometry'],\n",
    "                 elevation = row['elevation_mAHD'])\n",
    "    all_sites.append(site)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Now we try to get the dataframes into the database classes\n",
    "\n",
    "all_acquisitions = []\n",
    "\n",
    "for index, row in df_acquisition.iterrows():\n",
    "    acquisition = Acquisitions(acquisition_id = index,\n",
    "                               pulse_sequence = row['pulse_sequence'],\n",
    "                               pulse_length = row['pulse_length'],\n",
    "                               site_id = row['site_id'])\n",
    "                               \n",
    "    all_acquisitions.append(acquisition)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {},
   "outputs": [],
   "source": [
    "all_inversion_metadata = []\n",
    "\n",
    "for index, row in df_invmet.iterrows():\n",
    "    inv_met = Inverse_model_metadata(doi = row['DOI'],\n",
    "                                     reg_factor = row['regularisation_parameter'],\n",
    "                                     cond_profile = True,\n",
    "                                     inversion_software = 'GMRInversion1D_CLI_v2.7.3',\n",
    "                                     acquisition_id = row['acquisition_id'],\n",
    "                                     inversion_id = index)\n",
    "    all_inversion_metadata.append(inv_met)\n",
    "                                     "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "metadata": {},
   "outputs": [],
   "source": [
    "\n",
    "all_inversions = []\n",
    "\n",
    "for index, row in df_inversion.iterrows():\n",
    "    \n",
    "    inversion = Inverse_models(table_id = index,\n",
    "                               depth_from = row['Depth_from'],\n",
    "                           depth_to = row['Depth_to'],\n",
    "                           mobile_water_content = row['Mobile_water_content'],\n",
    "                           bound_water_content = row[\"Bound_water_content\"],\n",
    "                           total_water_content =row[\"Total_water_content\"],\n",
    "                           T1 = row[\"T1\"],\n",
    "                           T2 = row[\"T2\"],\n",
    "                           T2_star = row[\"T2*\"],\n",
    "                           frequency = row[\"frequency\"],\n",
    "                           phase = row[\"phase\"],\n",
    "                           site_id = row['site_id'],\n",
    "                           acquisition_id = row['acquisition_id'],\n",
    "                              inversion_id = row['inversion_id'])\n",
    "                               \n",
    "    all_inversions.append(inversion)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "metadata": {},
   "outputs": [],
   "source": [
    "from sqlalchemy.orm import sessionmaker\n",
    "Session = sessionmaker(bind=engine)\n",
    "session = Session()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "metadata": {},
   "outputs": [],
   "source": [
    "session.add_all(all_sites)\n",
    "session.add_all(all_acquisitions)\n",
    "session.add_all(all_inversions)\n",
    "session.add_all(all_inversion_metadata)\n",
    "\n",
    "session.commit()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<sqlalchemy.engine.result.ResultProxy at 0x241e35a9f08>"
      ]
     },
     "execution_count": 48,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# add a Spatialite geometry column called 'geom' to the table, using ESPG 28352,\n",
    "# data type POLYGON and 2 dimensions (x, y)\n",
    "engine.execute(\"SELECT AddGeometryColumn('sites', 'geom', 28353, 'POLYGON', 2);\")\n",
    "\n",
    "# update the yet empty geom column by parsing the well-known-binary objects from the geometry column into \n",
    "# Spatialite geometry objects\n",
    "engine.execute(\"UPDATE sites SET geom=GeomFromText(geometry, 28353);\")\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 66,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "      index  Bound_water_content  Depth_from    Depth_to     K_rel  \\\n",
      "150       0                  NaN    0.414881    0.596031  3.058858   \n",
      "151       1                  NaN    0.596031    0.823463  1.211201   \n",
      "152       2                  NaN    0.823463    1.102440  4.221600   \n",
      "153       3                  NaN    1.102440    1.438227  2.654096   \n",
      "154       4                  NaN    1.438227    1.836089  2.767496   \n",
      "...     ...                  ...         ...         ...       ...   \n",
      "4845     45                  NaN  129.093180  136.569200  0.000085   \n",
      "4846     46                  NaN  136.569200  144.328410  0.000029   \n",
      "4847     47                  NaN  144.328410  152.376090  0.000010   \n",
      "4848     48                  NaN  152.376090  160.717500  0.000003   \n",
      "4849     49                  NaN  160.717500  169.357910  0.000001   \n",
      "\n",
      "      Mobile_water_content  T1       T2  T2*  Total_water_content  \\\n",
      "150               0.032098 NaN   2.9299  NaN                  NaN   \n",
      "151               0.019753 NaN        3  NaN                  NaN   \n",
      "152               0.036672 NaN        3  NaN                  NaN   \n",
      "153               0.029913 NaN        3  NaN                  NaN   \n",
      "154               0.030051 NaN        3  NaN                  NaN   \n",
      "...                    ...  ..      ...  ...                  ...   \n",
      "4845              0.000194 NaN  1.80397  NaN                  NaN   \n",
      "4846              0.000112 NaN  1.44237  NaN                  NaN   \n",
      "4847              0.000066 NaN  1.44339  NaN                  NaN   \n",
      "4848              0.000038 NaN  1.44429  NaN                  NaN   \n",
      "4849              0.000022 NaN  1.44489  NaN                  NaN   \n",
      "\n",
      "     acquisition_id  frequency inversion_id  phase site_id  water_content  \n",
      "150               3        NaN            3    NaN       2            NaN  \n",
      "151               3        NaN            3    NaN       2            NaN  \n",
      "152               3        NaN            3    NaN       2            NaN  \n",
      "153               3        NaN            3    NaN       2            NaN  \n",
      "154               3        NaN            3    NaN       2            NaN  \n",
      "...             ...        ...          ...    ...     ...            ...  \n",
      "4845             97        NaN           96    NaN      63            NaN  \n",
      "4846             97        NaN           96    NaN      63            NaN  \n",
      "4847             97        NaN           96    NaN      63            NaN  \n",
      "4848             97        NaN           96    NaN      63            NaN  \n",
      "4849             97        NaN           96    NaN      63            NaN  \n",
      "\n",
      "[600 rows x 16 columns]\n"
     ]
    }
   ],
   "source": [
    "mask = pd.isnull(df_inversion[\"Bound_water_content\"])\n",
    "\n",
    "print(df_inversion[mask])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "metadata": {},
   "outputs": [],
   "source": [
    "mask = df_inversion['site_id'] == 62"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 57,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>index</th>\n",
       "      <th>Bound_water_content</th>\n",
       "      <th>Depth_from</th>\n",
       "      <th>Depth_to</th>\n",
       "      <th>K_rel</th>\n",
       "      <th>Mobile_water_content</th>\n",
       "      <th>T1</th>\n",
       "      <th>T2</th>\n",
       "      <th>T2*</th>\n",
       "      <th>Total_water_content</th>\n",
       "      <th>acquisition_id</th>\n",
       "      <th>frequency</th>\n",
       "      <th>inversion_id</th>\n",
       "      <th>phase</th>\n",
       "      <th>site_id</th>\n",
       "      <th>water_content</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>4750</th>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.414881</td>\n",
       "      <td>0.596031</td>\n",
       "      <td>3.276878</td>\n",
       "      <td>0.033596</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4751</th>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.596031</td>\n",
       "      <td>0.823463</td>\n",
       "      <td>1.026618</td>\n",
       "      <td>0.016110</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4752</th>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.823463</td>\n",
       "      <td>1.102440</td>\n",
       "      <td>5.269122</td>\n",
       "      <td>0.067142</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.871128</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4753</th>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.102440</td>\n",
       "      <td>1.438227</td>\n",
       "      <td>3.675887</td>\n",
       "      <td>0.057947</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.788176</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4754</th>\n",
       "      <td>4</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.438227</td>\n",
       "      <td>1.836089</td>\n",
       "      <td>3.091734</td>\n",
       "      <td>0.032553</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4755</th>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.836089</td>\n",
       "      <td>2.301292</td>\n",
       "      <td>0.818460</td>\n",
       "      <td>0.020770</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.41565</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4756</th>\n",
       "      <td>6</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.301292</td>\n",
       "      <td>2.839100</td>\n",
       "      <td>5.893039</td>\n",
       "      <td>0.046016</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.75851</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4757</th>\n",
       "      <td>7</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.839100</td>\n",
       "      <td>3.454777</td>\n",
       "      <td>11.338976</td>\n",
       "      <td>0.063221</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.89</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4758</th>\n",
       "      <td>8</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3.454777</td>\n",
       "      <td>4.153590</td>\n",
       "      <td>3.643576</td>\n",
       "      <td>0.075388</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.57</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4759</th>\n",
       "      <td>9</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4.153590</td>\n",
       "      <td>4.940802</td>\n",
       "      <td>4.866362</td>\n",
       "      <td>0.048996</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.49798</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4760</th>\n",
       "      <td>10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4.940802</td>\n",
       "      <td>5.821679</td>\n",
       "      <td>1.798834</td>\n",
       "      <td>0.047126</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.570001</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4761</th>\n",
       "      <td>11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5.821679</td>\n",
       "      <td>6.801485</td>\n",
       "      <td>2.969311</td>\n",
       "      <td>0.051836</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.756672</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4762</th>\n",
       "      <td>12</td>\n",
       "      <td>NaN</td>\n",
       "      <td>6.801485</td>\n",
       "      <td>7.885486</td>\n",
       "      <td>2.219922</td>\n",
       "      <td>0.061987</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.57</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4763</th>\n",
       "      <td>13</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.885486</td>\n",
       "      <td>9.078946</td>\n",
       "      <td>3.687502</td>\n",
       "      <td>0.048336</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.13983</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4764</th>\n",
       "      <td>14</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9.078946</td>\n",
       "      <td>10.387130</td>\n",
       "      <td>3.180687</td>\n",
       "      <td>0.050544</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.905875</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4765</th>\n",
       "      <td>15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10.387130</td>\n",
       "      <td>11.815302</td>\n",
       "      <td>1.545497</td>\n",
       "      <td>0.028136</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.46881</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4766</th>\n",
       "      <td>16</td>\n",
       "      <td>NaN</td>\n",
       "      <td>11.815302</td>\n",
       "      <td>13.368729</td>\n",
       "      <td>0.752968</td>\n",
       "      <td>0.016133</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.88491</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4767</th>\n",
       "      <td>17</td>\n",
       "      <td>NaN</td>\n",
       "      <td>13.368729</td>\n",
       "      <td>15.052675</td>\n",
       "      <td>0.633046</td>\n",
       "      <td>0.029446</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.57</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4768</th>\n",
       "      <td>18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>15.052675</td>\n",
       "      <td>16.872404</td>\n",
       "      <td>0.860978</td>\n",
       "      <td>0.036643</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.57</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4769</th>\n",
       "      <td>19</td>\n",
       "      <td>NaN</td>\n",
       "      <td>16.872404</td>\n",
       "      <td>18.833182</td>\n",
       "      <td>1.103070</td>\n",
       "      <td>0.022306</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.75681</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4770</th>\n",
       "      <td>20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18.833182</td>\n",
       "      <td>20.940273</td>\n",
       "      <td>1.515258</td>\n",
       "      <td>0.022830</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4771</th>\n",
       "      <td>21</td>\n",
       "      <td>NaN</td>\n",
       "      <td>20.940273</td>\n",
       "      <td>23.198943</td>\n",
       "      <td>1.301143</td>\n",
       "      <td>0.021257</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4772</th>\n",
       "      <td>22</td>\n",
       "      <td>NaN</td>\n",
       "      <td>23.198943</td>\n",
       "      <td>25.614455</td>\n",
       "      <td>1.122049</td>\n",
       "      <td>0.020257</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.67823</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4773</th>\n",
       "      <td>23</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25.614455</td>\n",
       "      <td>28.192076</td>\n",
       "      <td>2.190237</td>\n",
       "      <td>0.027502</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4774</th>\n",
       "      <td>24</td>\n",
       "      <td>NaN</td>\n",
       "      <td>28.192076</td>\n",
       "      <td>30.937070</td>\n",
       "      <td>4.187248</td>\n",
       "      <td>0.038085</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4775</th>\n",
       "      <td>25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>30.937070</td>\n",
       "      <td>33.854701</td>\n",
       "      <td>5.952787</td>\n",
       "      <td>0.047654</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.4206</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4776</th>\n",
       "      <td>26</td>\n",
       "      <td>NaN</td>\n",
       "      <td>33.854701</td>\n",
       "      <td>36.950236</td>\n",
       "      <td>6.481087</td>\n",
       "      <td>0.059797</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.3355</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4777</th>\n",
       "      <td>27</td>\n",
       "      <td>NaN</td>\n",
       "      <td>36.950236</td>\n",
       "      <td>40.228938</td>\n",
       "      <td>6.220514</td>\n",
       "      <td>0.071843</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.882159</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4778</th>\n",
       "      <td>28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>40.228938</td>\n",
       "      <td>43.696072</td>\n",
       "      <td>5.835707</td>\n",
       "      <td>0.078591</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.730978</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4779</th>\n",
       "      <td>29</td>\n",
       "      <td>NaN</td>\n",
       "      <td>43.696072</td>\n",
       "      <td>47.356904</td>\n",
       "      <td>5.473221</td>\n",
       "      <td>0.076844</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.719616</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4820</th>\n",
       "      <td>20</td>\n",
       "      <td>0.007544</td>\n",
       "      <td>18.833182</td>\n",
       "      <td>20.940273</td>\n",
       "      <td>1.892489</td>\n",
       "      <td>0.028208</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.288624</td>\n",
       "      <td>0.035753</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.3467</td>\n",
       "      <td>96</td>\n",
       "      <td>2.685644</td>\n",
       "      <td>62</td>\n",
       "      <td>0.029377</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4821</th>\n",
       "      <td>21</td>\n",
       "      <td>0.010997</td>\n",
       "      <td>20.940273</td>\n",
       "      <td>23.198943</td>\n",
       "      <td>0.731058</td>\n",
       "      <td>0.020396</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.175264</td>\n",
       "      <td>0.031393</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.5076</td>\n",
       "      <td>96</td>\n",
       "      <td>2.650718</td>\n",
       "      <td>62</td>\n",
       "      <td>0.024649</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4822</th>\n",
       "      <td>22</td>\n",
       "      <td>0.011551</td>\n",
       "      <td>23.198943</td>\n",
       "      <td>25.614455</td>\n",
       "      <td>2.788401</td>\n",
       "      <td>0.035783</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.243253</td>\n",
       "      <td>0.047334</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.1581</td>\n",
       "      <td>96</td>\n",
       "      <td>5.025690</td>\n",
       "      <td>62</td>\n",
       "      <td>0.039284</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4823</th>\n",
       "      <td>23</td>\n",
       "      <td>0.011349</td>\n",
       "      <td>25.614455</td>\n",
       "      <td>28.192076</td>\n",
       "      <td>5.345309</td>\n",
       "      <td>0.051768</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.242422</td>\n",
       "      <td>0.063117</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.2462</td>\n",
       "      <td>96</td>\n",
       "      <td>2.536761</td>\n",
       "      <td>62</td>\n",
       "      <td>0.054602</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4824</th>\n",
       "      <td>24</td>\n",
       "      <td>0.011408</td>\n",
       "      <td>28.192076</td>\n",
       "      <td>30.937070</td>\n",
       "      <td>9.946042</td>\n",
       "      <td>0.072180</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.241875</td>\n",
       "      <td>0.083589</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.3536</td>\n",
       "      <td>96</td>\n",
       "      <td>2.505927</td>\n",
       "      <td>62</td>\n",
       "      <td>0.074683</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4825</th>\n",
       "      <td>25</td>\n",
       "      <td>0.013035</td>\n",
       "      <td>30.937070</td>\n",
       "      <td>33.854701</td>\n",
       "      <td>19.134486</td>\n",
       "      <td>0.097313</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.254047</td>\n",
       "      <td>0.110348</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.4081</td>\n",
       "      <td>96</td>\n",
       "      <td>5.063950</td>\n",
       "      <td>62</td>\n",
       "      <td>0.100803</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4826</th>\n",
       "      <td>26</td>\n",
       "      <td>0.014087</td>\n",
       "      <td>33.854701</td>\n",
       "      <td>36.950236</td>\n",
       "      <td>27.091940</td>\n",
       "      <td>0.119043</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.249796</td>\n",
       "      <td>0.133130</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.4846</td>\n",
       "      <td>96</td>\n",
       "      <td>2.463591</td>\n",
       "      <td>62</td>\n",
       "      <td>0.121097</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4827</th>\n",
       "      <td>27</td>\n",
       "      <td>0.017064</td>\n",
       "      <td>36.950236</td>\n",
       "      <td>40.228938</td>\n",
       "      <td>33.144731</td>\n",
       "      <td>0.130908</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.249363</td>\n",
       "      <td>0.147972</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.5000</td>\n",
       "      <td>96</td>\n",
       "      <td>5.107271</td>\n",
       "      <td>62</td>\n",
       "      <td>0.134070</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4828</th>\n",
       "      <td>28</td>\n",
       "      <td>0.020216</td>\n",
       "      <td>40.228938</td>\n",
       "      <td>43.696072</td>\n",
       "      <td>36.219627</td>\n",
       "      <td>0.131720</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.257118</td>\n",
       "      <td>0.151937</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.4522</td>\n",
       "      <td>96</td>\n",
       "      <td>2.380207</td>\n",
       "      <td>62</td>\n",
       "      <td>0.137753</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4829</th>\n",
       "      <td>29</td>\n",
       "      <td>0.021581</td>\n",
       "      <td>43.696072</td>\n",
       "      <td>47.356904</td>\n",
       "      <td>32.556181</td>\n",
       "      <td>0.123640</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.259187</td>\n",
       "      <td>0.145221</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.4043</td>\n",
       "      <td>96</td>\n",
       "      <td>2.312653</td>\n",
       "      <td>62</td>\n",
       "      <td>0.130016</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4830</th>\n",
       "      <td>30</td>\n",
       "      <td>0.020689</td>\n",
       "      <td>47.356904</td>\n",
       "      <td>51.216698</td>\n",
       "      <td>24.427884</td>\n",
       "      <td>0.111435</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.249595</td>\n",
       "      <td>0.132124</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.3674</td>\n",
       "      <td>96</td>\n",
       "      <td>2.212922</td>\n",
       "      <td>62</td>\n",
       "      <td>0.115009</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4831</th>\n",
       "      <td>31</td>\n",
       "      <td>0.017265</td>\n",
       "      <td>51.216698</td>\n",
       "      <td>55.280719</td>\n",
       "      <td>18.341673</td>\n",
       "      <td>0.100995</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.247691</td>\n",
       "      <td>0.118260</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.3004</td>\n",
       "      <td>96</td>\n",
       "      <td>5.483459</td>\n",
       "      <td>62</td>\n",
       "      <td>0.100019</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4832</th>\n",
       "      <td>32</td>\n",
       "      <td>0.017766</td>\n",
       "      <td>55.280719</td>\n",
       "      <td>59.554232</td>\n",
       "      <td>15.921328</td>\n",
       "      <td>0.088283</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.278667</td>\n",
       "      <td>0.106049</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.1998</td>\n",
       "      <td>96</td>\n",
       "      <td>5.650573</td>\n",
       "      <td>62</td>\n",
       "      <td>0.087297</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4833</th>\n",
       "      <td>33</td>\n",
       "      <td>0.022886</td>\n",
       "      <td>59.554232</td>\n",
       "      <td>64.042502</td>\n",
       "      <td>14.875733</td>\n",
       "      <td>0.072123</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.344049</td>\n",
       "      <td>0.095009</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.1157</td>\n",
       "      <td>96</td>\n",
       "      <td>5.834346</td>\n",
       "      <td>62</td>\n",
       "      <td>0.076184</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4834</th>\n",
       "      <td>34</td>\n",
       "      <td>0.023036</td>\n",
       "      <td>64.042502</td>\n",
       "      <td>68.750794</td>\n",
       "      <td>13.122046</td>\n",
       "      <td>0.060668</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.414887</td>\n",
       "      <td>0.083704</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.0726</td>\n",
       "      <td>96</td>\n",
       "      <td>1.509227</td>\n",
       "      <td>62</td>\n",
       "      <td>0.066218</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4835</th>\n",
       "      <td>35</td>\n",
       "      <td>0.020095</td>\n",
       "      <td>68.750794</td>\n",
       "      <td>73.684372</td>\n",
       "      <td>11.495628</td>\n",
       "      <td>0.055636</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.444169</td>\n",
       "      <td>0.075731</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.0609</td>\n",
       "      <td>96</td>\n",
       "      <td>1.167719</td>\n",
       "      <td>62</td>\n",
       "      <td>0.060394</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4836</th>\n",
       "      <td>36</td>\n",
       "      <td>0.018826</td>\n",
       "      <td>73.684372</td>\n",
       "      <td>78.848502</td>\n",
       "      <td>11.938290</td>\n",
       "      <td>0.058359</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.417030</td>\n",
       "      <td>0.077185</td>\n",
       "      <td>97</td>\n",
       "      <td>2143.0367</td>\n",
       "      <td>96</td>\n",
       "      <td>0.774605</td>\n",
       "      <td>62</td>\n",
       "      <td>0.062939</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4837</th>\n",
       "      <td>37</td>\n",
       "      <td>0.015149</td>\n",
       "      <td>78.848502</td>\n",
       "      <td>84.248449</td>\n",
       "      <td>14.550961</td>\n",
       "      <td>0.067670</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.395882</td>\n",
       "      <td>0.082819</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.9891</td>\n",
       "      <td>96</td>\n",
       "      <td>0.455855</td>\n",
       "      <td>62</td>\n",
       "      <td>0.070893</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4838</th>\n",
       "      <td>38</td>\n",
       "      <td>0.010368</td>\n",
       "      <td>84.248449</td>\n",
       "      <td>89.889476</td>\n",
       "      <td>17.547627</td>\n",
       "      <td>0.076304</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.394205</td>\n",
       "      <td>0.086672</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.9461</td>\n",
       "      <td>96</td>\n",
       "      <td>0.243728</td>\n",
       "      <td>62</td>\n",
       "      <td>0.077987</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4839</th>\n",
       "      <td>39</td>\n",
       "      <td>0.010360</td>\n",
       "      <td>89.889476</td>\n",
       "      <td>95.776850</td>\n",
       "      <td>18.985507</td>\n",
       "      <td>0.078975</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.400213</td>\n",
       "      <td>0.089335</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.9170</td>\n",
       "      <td>96</td>\n",
       "      <td>0.111121</td>\n",
       "      <td>62</td>\n",
       "      <td>0.080616</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4840</th>\n",
       "      <td>40</td>\n",
       "      <td>0.009189</td>\n",
       "      <td>95.776850</td>\n",
       "      <td>101.915840</td>\n",
       "      <td>18.273479</td>\n",
       "      <td>0.076844</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.407300</td>\n",
       "      <td>0.086033</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.8980</td>\n",
       "      <td>96</td>\n",
       "      <td>1.307204</td>\n",
       "      <td>62</td>\n",
       "      <td>0.078531</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4841</th>\n",
       "      <td>41</td>\n",
       "      <td>0.007265</td>\n",
       "      <td>101.915840</td>\n",
       "      <td>108.311700</td>\n",
       "      <td>15.905150</td>\n",
       "      <td>0.071112</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.413511</td>\n",
       "      <td>0.078376</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.8856</td>\n",
       "      <td>96</td>\n",
       "      <td>1.364143</td>\n",
       "      <td>62</td>\n",
       "      <td>0.072827</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4842</th>\n",
       "      <td>42</td>\n",
       "      <td>0.007351</td>\n",
       "      <td>108.311700</td>\n",
       "      <td>114.969700</td>\n",
       "      <td>12.790152</td>\n",
       "      <td>0.063281</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.418432</td>\n",
       "      <td>0.070632</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.8772</td>\n",
       "      <td>96</td>\n",
       "      <td>1.402408</td>\n",
       "      <td>62</td>\n",
       "      <td>0.065007</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4843</th>\n",
       "      <td>43</td>\n",
       "      <td>0.004869</td>\n",
       "      <td>114.969700</td>\n",
       "      <td>121.895110</td>\n",
       "      <td>9.683883</td>\n",
       "      <td>0.054805</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.422170</td>\n",
       "      <td>0.059674</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.8715</td>\n",
       "      <td>96</td>\n",
       "      <td>1.428648</td>\n",
       "      <td>62</td>\n",
       "      <td>0.056370</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4844</th>\n",
       "      <td>44</td>\n",
       "      <td>0.004434</td>\n",
       "      <td>121.895110</td>\n",
       "      <td>129.093180</td>\n",
       "      <td>7.003064</td>\n",
       "      <td>0.046442</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.424954</td>\n",
       "      <td>0.050876</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.8674</td>\n",
       "      <td>96</td>\n",
       "      <td>1.446935</td>\n",
       "      <td>62</td>\n",
       "      <td>0.047814</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4845</th>\n",
       "      <td>45</td>\n",
       "      <td>0.003878</td>\n",
       "      <td>129.093180</td>\n",
       "      <td>136.569200</td>\n",
       "      <td>4.890819</td>\n",
       "      <td>0.038707</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.427034</td>\n",
       "      <td>0.042586</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.8646</td>\n",
       "      <td>96</td>\n",
       "      <td>1.459822</td>\n",
       "      <td>62</td>\n",
       "      <td>0.039881</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4846</th>\n",
       "      <td>46</td>\n",
       "      <td>0.003301</td>\n",
       "      <td>136.569200</td>\n",
       "      <td>144.328410</td>\n",
       "      <td>3.328397</td>\n",
       "      <td>0.031868</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.428532</td>\n",
       "      <td>0.035170</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.8627</td>\n",
       "      <td>96</td>\n",
       "      <td>1.468967</td>\n",
       "      <td>62</td>\n",
       "      <td>0.032855</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4847</th>\n",
       "      <td>47</td>\n",
       "      <td>0.002757</td>\n",
       "      <td>144.328410</td>\n",
       "      <td>152.376090</td>\n",
       "      <td>2.221682</td>\n",
       "      <td>0.025999</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.429655</td>\n",
       "      <td>0.028756</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.8612</td>\n",
       "      <td>96</td>\n",
       "      <td>1.475490</td>\n",
       "      <td>62</td>\n",
       "      <td>0.026816</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4848</th>\n",
       "      <td>48</td>\n",
       "      <td>0.002271</td>\n",
       "      <td>152.376090</td>\n",
       "      <td>160.717500</td>\n",
       "      <td>1.461447</td>\n",
       "      <td>0.021064</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.430486</td>\n",
       "      <td>0.023335</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.8602</td>\n",
       "      <td>96</td>\n",
       "      <td>1.480166</td>\n",
       "      <td>62</td>\n",
       "      <td>0.021734</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4849</th>\n",
       "      <td>49</td>\n",
       "      <td>0.001851</td>\n",
       "      <td>160.717500</td>\n",
       "      <td>169.357910</td>\n",
       "      <td>0.950192</td>\n",
       "      <td>0.016971</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.430996</td>\n",
       "      <td>0.018822</td>\n",
       "      <td>97</td>\n",
       "      <td>2142.8594</td>\n",
       "      <td>96</td>\n",
       "      <td>1.483530</td>\n",
       "      <td>62</td>\n",
       "      <td>0.017516</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>100 rows × 16 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      index  Bound_water_content  Depth_from    Depth_to     K_rel  \\\n",
       "4750      0                  NaN    0.414881    0.596031  3.276878   \n",
       "4751      1                  NaN    0.596031    0.823463  1.026618   \n",
       "4752      2                  NaN    0.823463    1.102440  5.269122   \n",
       "4753      3                  NaN    1.102440    1.438227  3.675887   \n",
       "4754      4                  NaN    1.438227    1.836089  3.091734   \n",
       "...     ...                  ...         ...         ...       ...   \n",
       "4845     45             0.003878  129.093180  136.569200  4.890819   \n",
       "4846     46             0.003301  136.569200  144.328410  3.328397   \n",
       "4847     47             0.002757  144.328410  152.376090  2.221682   \n",
       "4848     48             0.002271  152.376090  160.717500  1.461447   \n",
       "4849     49             0.001851  160.717500  169.357910  0.950192   \n",
       "\n",
       "      Mobile_water_content  T1        T2       T2*  Total_water_content  \\\n",
       "4750              0.033596 NaN         3       NaN                  NaN   \n",
       "4751              0.016110 NaN         3       NaN                  NaN   \n",
       "4752              0.067142 NaN  0.871128       NaN                  NaN   \n",
       "4753              0.057947 NaN  0.788176       NaN                  NaN   \n",
       "4754              0.032553 NaN         3       NaN                  NaN   \n",
       "...                    ...  ..       ...       ...                  ...   \n",
       "4845              0.038707 NaN       NaN  0.427034             0.042586   \n",
       "4846              0.031868 NaN       NaN  0.428532             0.035170   \n",
       "4847              0.025999 NaN       NaN  0.429655             0.028756   \n",
       "4848              0.021064 NaN       NaN  0.430486             0.023335   \n",
       "4849              0.016971 NaN       NaN  0.430996             0.018822   \n",
       "\n",
       "     acquisition_id  frequency inversion_id     phase site_id  water_content  \n",
       "4750             96        NaN           95       NaN      62            NaN  \n",
       "4751             96        NaN           95       NaN      62            NaN  \n",
       "4752             96        NaN           95       NaN      62            NaN  \n",
       "4753             96        NaN           95       NaN      62            NaN  \n",
       "4754             96        NaN           95       NaN      62            NaN  \n",
       "...             ...        ...          ...       ...     ...            ...  \n",
       "4845             97  2142.8646           96  1.459822      62       0.039881  \n",
       "4846             97  2142.8627           96  1.468967      62       0.032855  \n",
       "4847             97  2142.8612           96  1.475490      62       0.026816  \n",
       "4848             97  2142.8602           96  1.480166      62       0.021734  \n",
       "4849             97  2142.8594           96  1.483530      62       0.017516  \n",
       "\n",
       "[100 rows x 16 columns]"
      ]
     },
     "execution_count": 57,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_inversion[mask]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 63,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>acquisition_id</th>\n",
       "      <th>DOI</th>\n",
       "      <th>conductive_earth</th>\n",
       "      <th>regularisation_parameter</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>inversion_id</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>95</th>\n",
       "      <td>96</td>\n",
       "      <td>57.39096</td>\n",
       "      <td>True</td>\n",
       "      <td>0.005</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "             acquisition_id       DOI conductive_earth  \\\n",
       "inversion_id                                             \n",
       "95                       96  57.39096             True   \n",
       "\n",
       "              regularisation_parameter  \n",
       "inversion_id                            \n",
       "95                               0.005  "
      ]
     },
     "execution_count": 63,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "mask = df_invmet.index == 95\n",
    "\n",
    "df_invmet[mask]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 66,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Field_ID</th>\n",
       "      <th>pathname</th>\n",
       "      <th>filename</th>\n",
       "      <th>pulse_sequence</th>\n",
       "      <th>pulse_length</th>\n",
       "      <th>detect_coil</th>\n",
       "      <th>coil_diameter</th>\n",
       "      <th>n_turns</th>\n",
       "      <th>coil_type</th>\n",
       "      <th>bo_inc_angle_deg</th>\n",
       "      <th>...</th>\n",
       "      <th>use_cond_profile</th>\n",
       "      <th>loadcondpath</th>\n",
       "      <th>loadcondname</th>\n",
       "      <th>close_figs</th>\n",
       "      <th>save_pathname</th>\n",
       "      <th>save_filename</th>\n",
       "      <th>matfile</th>\n",
       "      <th>hdf5_file</th>\n",
       "      <th>site_id</th>\n",
       "      <th>inversion_file</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>96</th>\n",
       "      <td>TC_GMR_14</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_14</td>\n",
       "      <td>CPMG_15ms.mat</td>\n",
       "      <td>CPMG</td>\n",
       "      <td>15</td>\n",
       "      <td>1</td>\n",
       "      <td>110</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4.069</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\resisitivity_profiles</td>\n",
       "      <td>TC_GMR_14_res_profile.txt</td>\n",
       "      <td>1</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_14</td>\n",
       "      <td>TC_GMR_14_conductive_earth_CPMG_15ms</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>62</td>\n",
       "      <td>E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_14\\TC_GMR_14...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1 rows × 24 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     Field_ID                                  pathname       filename  \\\n",
       "96  TC_GMR_14  E:\\SSC\\NMR\\SNMR\\Processed_data\\TC_GMR_14  CPMG_15ms.mat   \n",
       "\n",
       "   pulse_sequence  pulse_length  detect_coil  coil_diameter  n_turns  \\\n",
       "96           CPMG            15            1            110        1   \n",
       "\n",
       "    coil_type  bo_inc_angle_deg  ...  use_cond_profile  \\\n",
       "96          1             4.069  ...                 1   \n",
       "\n",
       "                             loadcondpath               loadcondname  \\\n",
       "96  E:\\SSC\\NMR\\SNMR\\resisitivity_profiles  TC_GMR_14_res_profile.txt   \n",
       "\n",
       "    close_figs                         save_pathname  \\\n",
       "96           1  E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_14   \n",
       "\n",
       "                           save_filename matfile  hdf5_file site_id  \\\n",
       "96  TC_GMR_14_conductive_earth_CPMG_15ms     NaN        NaN      62   \n",
       "\n",
       "                                       inversion_file  \n",
       "96  E:\\SSC\\NMR\\SNMR\\Inversions\\TC_GMR_14\\TC_GMR_14...  \n",
       "\n",
       "[1 rows x 24 columns]"
      ]
     },
     "execution_count": 66,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "mask = df_acquisition.index  ==  96\n",
    "\n",
    "df_acquisition[mask]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "@webio": {
   "lastCommId": null,
   "lastKernelId": null
  },
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
